vergro Posted November 20, 2007 Posted November 20, 2007 here is my code:Run("Protell3.exe", "C\DOWN", @SW_MAXIMIZE)And i get the following error:
Nahuel Posted November 20, 2007 Posted November 20, 2007 Try this: Run("C\DOWN\Protell3.exe", "C\DOWN", @SW_MAXIMIZE)
herewasplato Posted November 20, 2007 Posted November 20, 2007 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]
Nahuel Posted November 20, 2007 Posted November 20, 2007 C\DOWNoÝ÷ Ù«¢+ÙèÀäÈí=]Ah, sorry. That's what happens when you copy and paste...
vergro Posted November 20, 2007 Author Posted November 20, 2007 (edited) 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 Edited November 20, 2007 by vergro
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