using two commands simultaneously in DOS


by jackson6612
Tags: commands, simultaneously
jackson6612
jackson6612 is offline
#1
Jan9-11, 07:52 AM
P: 348
Hi

1: Is this possible to use two or more DOS commands in the same line. When I enter the command "TREE C:\" it displays all the folders (=directories) and sub-folders present there in the drive C. But I don't want to see the sub-folders displayed in the tree. I don't know the command for hiding the sub-folders. I hope there is one. That would mean I need two commands in the same line, i.e., [Command to hide the sub-folders] [TREE] [C:\].

Could you please help me with it?

2: Suppose I enter the command "TREE C:\ |MORE". I would get a limited list of the folders and sub-folders and then I would have to press/tap ENTER key to see the remaining list. Suppose, in the midway I want to abort that TREE command, how could I do it? Do I have to the list to its very end to enter a new command? Please have a look on the video:
http://www.youtube.com/watch?v=lrdjs7_DTM0
Phys.Org News Partner Science news on Phys.org
NASA's space station Robonaut finally getting legs
Free the seed: OSSI nurtures growing plants without patent barriers
Going nuts? Turkey looks to pistachios to heat new eco-city
Borek
Borek is offline
#2
Jan9-11, 10:27 AM
Admin
Borek's Avatar
P: 22,679
Why TREE and not just DIR? Try if Ctrl-C doesn't stop the listing.

I have not used DOS prompt in ages, so I can be wrong.


Register to reply

Related Discussions
Executing commands in Quantum Espresso(QE) Atomic, Solid State, Comp. Physics 0
Piping commands with redirection Engineering, Comp Sci, & Technology Homework 1
E-R Diagram and SQL Commands Programming & Computer Science 0
program to respond to commands in C++ Computing & Technology 5
MS-PROMPT commands Computing & Technology 10