Kaneluv Posted August 22, 2007 Share 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? Link to comment Share on other sites More sharing options...
westsan Posted August 22, 2007 Share Posted August 22, 2007 TUTORIAL explains this Link to comment Share on other sites More sharing options...
Kaneluv Posted August 22, 2007 Author Share Posted August 22, 2007 Oh, alright, thanks. Link to comment Share on other sites More sharing options...
Tiger Posted August 22, 2007 Share 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 Link to comment Share on other sites More sharing options...
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