Guest oystercatcher Posted July 13, 2005 Share Posted July 13, 2005 I have been using autoitv3.exe and passing it a file with just the single command Run(@comspec & 'shell command',"",@SW_HIDE) Mainly to run from a cdrom. I would like to pass a command instead of a file if possible? So the bat script would have the path on the cdrom to autoitv3 followed by the command of choice Thanks Link to comment Share on other sites More sharing options...
LxP Posted July 13, 2005 Share Posted July 13, 2005 If I understand you correctly, you could place the AutoIt executable on your CD and then execute something like this from your batch file: AutoIt3 /c "msgBox(32, 'Information', 'This is a message box.')" Link to comment Share on other sites More sharing options...
Guest oystercatcher Posted July 13, 2005 Share Posted July 13, 2005 Thanks the slash c was what I was looking for. autoitv3.exe /c "Run(@comspec & ' /k dir c:\ ' )" 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