Sign in to follow this  
Followers 0
Guest cloch

Run() has problems with spaces in path

2 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0