Jump to content

run: why dont this work?


vergro
 Share

Recommended Posts

Run("C:\DOWN\Protell3.exe", "C:\DOWN", @SW_MAXIMIZE)

...but to answer the OP's question:

The working directory parameter does not function as the path to the executable.

You must specify the complete path

or

the program must be in the OS PATH environment variable.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Link to comment
Share on other sites

Try Run("C\DOWN\Protell3.exe", "C\DOWN", @SW_MAXIMIZE)

this worked but also needed the ":" in C:\

doh!

wow you guys are very prompt and helpful, thank you! i'm sure i will be back again soon with more noob problems :P

Edited by vergro
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...