Doc Symbiosis Posted May 25, 2005 Share Posted May 25, 2005 When I try to run a internal command like "pause", WPI gives the error message "Windows cannot find 'pause. Make sure you typed the name correctly and then try again. To search for a file..."in my config.js I have the line:cmd1[pn]=['pause']I also triedcmd1[pn]=['%COMSPEC% /C pause']but it also didn't work.Does anyone have an idea, what's wrong? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 25, 2005 Share Posted May 25, 2005 I know other people have used pause before but I never use it myself so if you are patient just wait and some one will answer this one for you.If you are not patient then write up a bat file and call it form wpiiestart/wait blah.exepause 5000end Link to comment Share on other sites More sharing options...
Doc Symbiosis Posted May 26, 2005 Author Share Posted May 26, 2005 the command pause was thought as just an example, it's the same thing with evry other command. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 26, 2005 Share Posted May 26, 2005 Alot of use just use batch files or winrar for things like copying and deleting files personally I have several bat files that I compiled into exe's and I call them through wpi for their various reasons. Link to comment Share on other sites More sharing options...
blinkdt Posted May 26, 2005 Share Posted May 26, 2005 in my config.js I have the line:cmd1[pn]=['pause']Doc, wouldn't you need a fuller reference to the location of the file, for example:cmd1[pn]=['%cdrom%\\Programs\\ColorPic.exe']?? Seems the path is a little barren and therefore Windows can't locate the file. Link to comment Share on other sites More sharing options...
Doc Symbiosis Posted May 26, 2005 Author Share Posted May 26, 2005 It seems so that I need to have the full path, but which path to use for XP commands? Link to comment Share on other sites More sharing options...
blinkdt Posted May 26, 2005 Share Posted May 26, 2005 The WPI Site has a great "View example config" entry worth studying. Let us know how it goes. 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