Jump to content

cannot run commands


Recommended Posts

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?

Link to comment
Share on other sites


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

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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