Guest cloch Posted September 7, 2005 Share Posted September 7, 2005 The following occurs when a path to an executeable contains spaces: Run("C:\Programs\Some Files\bin\myprog.exe") calls the executeable, but passes 'Files\bin\myprog.exe"' as parameter. Run("C:\Programs\SomeFi~1\bin\myprog.exe") works as it should. Same problem when working with parameters: Run("C:\Programs\Some Files\bin\myprog.exe myparam") calls the executeable, but passes 2 Parameters instead of one. Run("C:\Programs\SomeFi~1\bin\myprog.exe myparam") works as it should. Link to comment Share on other sites More sharing options...
GaryFrost Posted September 7, 2005 Share Posted September 7, 2005 this should of been support not bug reports Run('"C:\Programs\Some Files\bin\myprog.exe"') Run('"C:\Programs\Some Files\bin\myprog.exe" myparam') should work SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. 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