Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

cascading multiple dos commands

Original Message
Name: yuv
Date: March 7, 2005 at 01:36:14 Pacific
Subject: cascading multiple dos commands
OS: win 2000
CPU/Ram: p4 / 1 GB
Comment:
Will anybody plz tell me how to cascade multiple DOS commands..from dos prompt?

e.g. If i want to run 'CD..' and 'CD' both commands at once from command prompt.
Is there something like this :
c:\currentdir>cd.. cd c:\nextdir

----
yuv


Report Offensive Message For Removal


Response Number 1
Name: Mechanix2Go
Date: March 7, 2005 at 01:57:40 Pacific
Subject: cascading multiple dos commands
Reply: (edit)
Hi,

If you're using w2000, it depends on which command interpreter.

Either way it's not a DOS issue. It would go best in 'Programming' or 'w2000' forum.

If you really intend to use DOS, please clarify.

Changing frome one directory to another, then another, with 'cascaded' commands would happen so fast you'd never see it.

What are you trying to do?

M2


Report Offensive Follow Up For Removal

Response Number 2
Name: yuv
Date: March 7, 2005 at 04:25:58 Pacific
Subject: cascading multiple dos commands
Reply: (edit)
actually when sometimes we operate with DOS ... this hurdle comes in mind.
i would have liked to work with cascading commands.It is fast and time saving when we r on dos prompt.But i dont know if we can do such cascading or not.

----
yuv


Report Offensive Follow Up For Removal

Response Number 3
Name: Mechanix2Go
Date: March 7, 2005 at 04:46:42 Pacific
Subject: cascading multiple dos commands
Reply: (edit)
Question remains.

What are you trying to do?

M2


Report Offensive Follow Up For Removal

Response Number 4
Name: yuv
Date: March 7, 2005 at 23:20:42 Pacific
Subject: cascading multiple dos commands
Reply: (edit)
ohh..! nothing as special for anyproject or like that otherwise i could have prefferd .bat / .cmd files for multiple dos commands execution.

what i say that when we r just on dos prompt and doing this an that .... (e.g. copy some file and delete some file) ... so normally i do
c:\copy frm to
c:\del somefile

Cant i do both/multiple operations together on dos command prompt...?? just cascading commands in single line on prompt....
if its possible how to do that..??

something like this if possible -
c:\copy frm to del c:\some file

----
yuv


Report Offensive Follow Up For Removal

Response Number 5
Name: wizard-fred
Date: March 8, 2005 at 04:39:00 Pacific
Subject: cascading multiple dos commands
Reply: (edit)
yuv - are you trying to do command stacking? Enter commands in order so that the second and future commands are waiting their turn to execute in order while the first command is working.

I don't think you can do it in original DOS as the command interpeter is not capable of parsing the multiple command strings. *nix type systems have the ability of putting the commands in a background queue and piping input and output to different processes. Under DOS the only thing is a batch file. Sometimes you can type a command and while it executes type the next. This assumes the first command does not use the keyboard buffer.


Report Offensive Follow Up For Removal


Response Number 6
Name: dtech10
Date: March 8, 2005 at 08:14:14 Pacific
Subject: cascading multiple dos commands
Reply: (edit)
Hi Yuv
Do you mean something like this at the dos prompt.
exec copy *.* c:\Dir + cls + del a:\*.txt
to exececute these commands one after the other to execute them all at the same time.
ie multitasking sort of thing.


Report Offensive Follow Up For Removal

Response Number 7
Name: Valerie (by Garibaldi)
Date: March 8, 2005 at 14:06:16 Pacific
Subject: cascading multiple dos commands
Reply: (edit)
Is this what you are looking for??

http://www.computerhope.com/issues/ch000177.htm


Report Offensive Follow Up For Removal

Response Number 8
Name: yuv
Date: March 9, 2005 at 22:16:14 Pacific
Subject: cascading multiple dos commands
Reply: (edit)
oh.. thanx Valerie.
That is what i wanted.

Thanx to all for their help an replies.
:-)


----
yuv


Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: cascading multiple dos commands

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




exessive internet traffic

ZoneAlarm Question. Blocked Connect

Windows Live Messenger Problem

Delete $Uninstall after SP3 updates

help for hp compaq laptop


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC