Jump to content

Recommended Posts

Posted

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 tried

cmd1[pn]=['%COMSPEC% /C pause']

but it also didn't work.

Does anyone have an idea, what's wrong?


Posted

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 wpi

ie

start/wait blah.exe

pause 5000

end

Posted

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.

Posted
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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...