Jump to content

Run() has problems with spaces in path


Recommended Posts

Posted

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.

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
  • Recently Browsing   0 members

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