🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1133

Novice question: how to boot from a bat file?

#1133
From: Shu-Chen Eclipse
Date: Sun, 30 Aug 1992 03:39
15 lines
1092 bytes
Hellow,

i have 2 alternate versions of config.sys and autoexec.bat.
I want to write a simple bat file that, when invoked by the user interatively,
will ask the user which version he wants, delete the current files, copy the
correct ones from "reserved" files, then re-boot.

My problem is I don't know how to emulate the cntry-al-delete boot that
the user would normally type in to have these new files take effect.

So, how do I put "cntrol-al-delete" in this bat file so that it automatically
reboots the PC without requiring the user to type "cntrol-alt-delete"???

thanx for answering,
sue@byron.u.washington.edu 
Technical Details
Message-ID: <1992Aug30.033912.729@u.washington.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!news.u.washington.edu!byron.u.washington.edu!sue

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!news.u.washington.edu!byron.u.washington.edu!sue
From: sue@byron.u.washington.edu (Shu-Chen Eclipse)
Newsgroups: comp.os.msdos.programmer
Subject: Novice question: how to boot from a bat file?
Message-ID: <1992Aug30.033912.729@u.washington.edu>
Date: 30 Aug 92 03:39:12 GMT
Article-I.D.: u.1992Aug30.033912.729
Sender: news@u.washington.edu (USENET News System)
Organization: University of Washington, Seattle
Lines: 15