How to reboot to dos mode and return to Windows ?


hi

i reboot dos disk , automatically run batch file , call dos mode exe .

after these steps want return windows system , read report dos disk .

is there way change boot order instead setting bios , or can switch dos mode like

 what scandisk ?

thank much.

you can use bcdedit.exe to play boot options in vista , onwards.

check below code restarts ur system in safe mode.

processstartinfo startinfo = new processstartinfo(); startinfo.filename = "bcdedit"; startinfo.arguments = "/set safeboot minimal"; system.diagnostics.process.start(startinfo);

hope helps.

please mark post answer if solved problem. happy programming!



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

Catalog Staging

How to Share webservice object to all user