CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: restart in DOS

  1. #1
    Join Date
    Apr 1999
    Posts
    3

    restart in DOS

    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


  2. #2
    Join Date
    May 1999
    Posts
    31

    Re: restart in DOS

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured