Shoutbox

What's wrong? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: What's wrong? (/showthread.php?tid=73580)

What's wrong? by Chocolatino on 04-13-2007 at 06:37 PM

whats wrong here?

code:
shutdown -s -t 60 -c "Fatal error encountered."
ping 127.0.0.1 -n 10 -W 1000   
Shutdown -a
Start iexplore


I'm seeing if i can make a little fake error message but i can't seem to get it right, I need it to open the error message and count down from 1 minute and then when it gets to ten just open IE as if nothing had happened. What actually happens is the error message appears for a second then disappears :(.

Any Ideas?

thnx in advance.
RE: What's wrong? by ryxdp on 04-13-2007 at 10:37 PM

The command prompt only runs stuff if it's running as well, for example, try running ipconfig.exe (C:\WINDOWS\System32) without the command prompt running. It should do the same as what your program does.

Now try opening command prompt and typing in "ipconfig". It should run.

Edit: I've tried your code, it works perfectly when executed via the command prompt but it does not execute by just clicking "Open".