please dont rip this site
COMMAND + Invoking a Second Command Processor

Invokes a second command processor.

VERSION

PC-DOS 2.0+

MS-DOS equivalent: COMMAND (2.0+)

TYPE

External

SYNTAX

COMMAND [d]:[path][C string][/E:xxxxx]

OPTIONS

[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

command processor.

/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

command processor.

/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

paragraph boundary.

COMMAND allows you to run one batch file from within another

and then return to the original batch file.

EXAMPLES

CCOMMAND

invokes a second copy of the command processor, and this new copy

will inherit the environment known to the primary command

processor.

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

TEST1.BAT.

MESSAGE

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

one.

UNDO

To return to the primary command processor, enter the

special command

CEXIT

------------------------------------------------------------------

[For related topics, press R]

SEE ALSO

BREAK Command

Batch Files

CTTY Command

EXE2BIN Command

JOIN Command

KEYB Command

KEYBxx Command

PROMPT Command

SET Command

Subroutines for Batch Files

SUBST Command



See also:


file: /Techref/dos/command/command.htm, 2KB, , updated: 1999/2/20 10:24, local time: 2017/12/16 02:57,
TOP NEW HELP FIND: 
54.163.61.66:LOG IN

 ©2017 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?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://www.piclist.com/techref/dos/command/command.htm"> dos command command</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171216 RussellMc, Van Horn, David, Sean Breheny, James Cameron, alan.b.pearce, IVP, Neil, Bob Blick, David C Brown, John Gardner,
* 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!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .