Click to See Complete Forum and Search --> : restart in DOS


softie
April 14th, 1999, 12:11 PM
How can I trigger the computer to restart into DOS (like the option when you hit ctrl-alt-del in windows) from Visual C++?

Jason

Daniel Levine
April 14th, 1999, 03:21 PM
Hi,

I tried to find a way to do this a while back, but I could not find a good method. In the end, I used a .pif file with the command-line: command.com. Then I checked the Restart In DOS Mode checkbox. To restart in DOS, just ShellExecute the .pif file.

Daniel.