Kaneluv Posted August 22, 2007 Posted August 22, 2007 What would the script look like if I was to have it find a file such as shutdown.bat and execute this?
Tiger Posted August 22, 2007 Posted August 22, 2007 Example: $ffff = FileFindFirstFile(@ScriptDir & "\*.bat") While 1 $ffnf = FileFindNextFile($ffff) If @error Then ExitLoop ShellExecute(@ScriptDir & "\" & $ffnf) WEnd ; Close search FileClose($ffff) My UDFs:- _RegEnumKey
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now