COMMAND + Invoking a Second Command Processor
Invokes a second command processor.
MS-DOS equivalent: COMMAND (2.0+)
COMMAND [d]:[path][C string][/E:xxxxx]
[d:][path] Specifies the drive letter and path that
is searched to locate the command
processor you wish to start.
/P Causes a second command processor to
become memory-resident; you must then
restart DOS to return to the original
/C string Passes a string (any command that can be
entered at a DOS prompt) to a second
command processor, executes the command,
and then removes the second copy of the
/E:xxxxx Specifies the size of the environment as
a base 10 integer between 160 and 32768.
This number is rounded up to the nearest
COMMAND allows you to run one batch file from within another
and then return to the original batch file.
invokes a second copy of the command processor, and this new copy
will inherit the environment known to the primary command
CCOMMAND /C TEST2
starts a second copy of the command processor and executes the
batch file TEST2.BAT, then returns to the original batch file
Current drive is no longer valid
COMMAND found that the current drive is no longer valid. You may
have deleted a network drive. Change the current drive to a valid
To return to the primary command processor, enter the
[For related topics, press R]
Subroutines for Batch Files
|file: /Techref/dos/command/command.htm, 2KB, , updated: 1999/2/20 11:24, local time: 2018/7/17 18:14,
|©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/dos/command/command.htm"> dos command command</A>
|Did you find what you needed?|
PICList 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20180717 RussellMc, Van Horn, David, Sean Breheny, Isaac M. Bavaresco, David C Brown, Bob Blick, Neil, Denny Esterline, John Gardner, Brent Brown,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!