theguy0000 Posted March 11, 2006 Share Posted March 11, 2006 Run ( "filename" [, "workingdir" [, flag[, standard_i/o_flag]]] ) I want to be able to specify a flag but leave the working dir as the way it is. What should I put as the working dir? (what does the working dir even do anyway?) The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
greenmachine Posted March 11, 2006 Share Posted March 11, 2006 You can use @WorkingDir. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 11, 2006 Moderators Share Posted March 11, 2006 Run ( "filename" [, "workingdir" [, flag[, standard_i/o_flag]]] ) I want to be able to specify a flag but leave the working dir as the way it is. What should I put as the working dir? (what does the working dir even do anyway?)@WorkingDir Current/active working directory. (Result does not contain a trailing backslash) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
theguy0000 Posted March 11, 2006 Author Share Posted March 11, 2006 but that is for the current script's working dir, not the new program's working dir. Or am I wrong? The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
Valuater Posted March 11, 2006 Share Posted March 11, 2006 but that is for the current script's working dir, not the new program's working dir. Or am I wrong?its for the program you are calling/trying to run8) Link to comment Share on other sites More sharing options...
theguy0000 Posted March 11, 2006 Author Share Posted March 11, 2006 oh, ok. thanks. The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
MHz Posted March 11, 2006 Share Posted March 11, 2006 but that is for the current script's working dir, not the new program's working dir. Or am I wrong?Nope, that is @ScriptDir that is your scripts directory. @WorkingDir can be anything that is set with FileChangeDir(), would be the script directory normally if you click on your file to start, or even the root of your system drive, if your script is started from the registry. Fact is, you should not use @WorkingDir, unless your script is aware of where it's current @WorkingDir is. 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