Re: command line 'set /p' problem
From: David Candy (david_at_mvps.org)
Date: 09/01/04
- Next message: B Hope: "Re: Recovery Console and SP2 question"
- Previous message: The Donn: "RE: How to Remove Start up Screens??"
- In reply to: David Candy: "Re: command line 'set /p' problem"
- Next in thread: Simon Watkinson: "Re: command line 'set /p' problem"
- Reply: Simon Watkinson: "Re: command line 'set /p' problem"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 2 Sep 2004 03:21:04 +1000
If you want dos 5's help in NT type
command /k set /?
if you want NT's help
set /?
but command /k set is the only way to run a Dos command in NT. But this starts an instance of Dos, sets the environmental variable and then exits, loosing the variable.
Dos 5 and 7 is close but not identical. Closer than 5 and cmd.
-- ---------------------------------------------------------- http://www.newmatilda.com/home/default.asp "David Candy" <david@mvps.org> wrote in message news:uVpBGbEkEHA.3872@TK2MSFTNGP11.phx.gbl... XP Dos boot disk uses Windows Millenium's dos. It supports choice. Choice is an external command. It was in the supplementry tools for Dos 6.22 (and in the main setup), and included with all versions of Dos 7 (Win 95 to Win ME). Command in NT doesn't support set /p as it is Dos 5 (which I think is when choice became an optional tool). CMD supports set /p. You can type ver to see your version. You'll have to find choice. ftp://ftp.microsoft.com/Softlib/MSLFILES/sup622.exe is one place where it is. -- ---------------------------------------------------------- http://www.newmatilda.com/home/default.asp "Simon Watkinson" <SimonWatkinson@discussions.microsoft.com> wrote in message news:1E8160A5-BB7A-4C90-9A10-7164014D8867@microsoft.com... > Sorry I didn't want to expand too much and confuse in the first instance. > I am trying to boot 'xp' from a floppy with the express purpose of using > norton ghost with comand line instructions to enable my family to part > restore a computer whilst I am away (easy for me but not them). > > I created a batch file to guide them throught a cuple of simple choices. The > batch file uses 'set' with the /p switch to collect input from the keyboard. > All works well during test (running xp) but when the pc is booted from the > floppy the version of command.com does not support the '/p' switch. Equally > the floppy version of command.co does not support 'choice'. for some reason > it falls part way between win98 and xp. The boot disk was created using > ghost, but I have also make a 98 boot disk and an xp boot disk with the same > results. > > Ant thoughts. > > "David Candy" wrote: > > > What floppy? All dos floppies support choice. It probably isn't installed. What's a normal command.com. Only programs executing dos commands can call Dos commands. In all other cases NT commands are used. > > > > -- > > ---------------------------------------------------------- > > http://www.newmatilda.com/home/default.asp > > "Simon Watkinson" <SimonWatkinson@discussions.microsoft.com> wrote in message news:E637A9EB-BD27-4EE0-B93C-84A448CDBD7B@microsoft.com... > > > It seems that the command.com used to boot xp from a floppy is different to > > > the normal and does not support the '/p' switch. Nor the old choice command. > > > Anyone got any ideas for a workround. > >
- Next message: B Hope: "Re: Recovery Console and SP2 question"
- Previous message: The Donn: "RE: How to Remove Start up Screens??"
- In reply to: David Candy: "Re: command line 'set /p' problem"
- Next in thread: Simon Watkinson: "Re: command line 'set /p' problem"
- Reply: Simon Watkinson: "Re: command line 'set /p' problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|