Jump to content

Run() has problems with spaces in path


Guest cloch
 Share

Recommended Posts

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...