fred17 Posted May 3, 2007 Share Posted May 3, 2007 hi i am a new user and i can't past parameter for run command ex: Run("C:\xxxxx\xxxx.exe /lock") with "lock" parameter for exemple or Run("C:\xxxxx\xxxx.exe" /lock) don't work any idea thanks a lot ... Link to comment Share on other sites More sharing options...
Developers Jos Posted May 3, 2007 Developers Share Posted May 3, 2007 I am sure you got some sort of error on that. Try: Run('"C:\xxxxx\xxxx.exe" /lock') -or- Run(@comspec & ' /c "C:\xxxxx\xxxx.exe" /lock') Depending on the program you use. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Valuater Posted May 3, 2007 Share Posted May 3, 2007 for you and others, here is a list of comspec useshttp://www.autoitscript.com/forum/index.ph...st&p=2239518) Link to comment Share on other sites More sharing options...
fred17 Posted May 3, 2007 Author Share Posted May 3, 2007 work great thanks a lot Try: Run('"C:\xxxxx\xxxx.exe" /lock') 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