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