May 25, 200521 yr 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?
May 25, 200521 yr 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
May 26, 200521 yr Author the command pause was thought as just an example, it's the same thing with evry other command.
May 26, 200521 yr 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.
May 26, 200521 yr 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.
May 26, 200521 yr Author It seems so that I need to have the full path, but which path to use for XP commands?
May 26, 200521 yr The WPI Site has a great "View example config" entry worth studying. Let us know how it goes.
Create an account or sign in to comment