answersLogoWhite

0

Assuming you are in command prompt mode, the following will redirect the output of the c:\windows to the file c:\win.txt

dir c:\win\*.* > c:\win.txt

for %a in (C:\Windows\*) do @echo %a

for %a in (C:\Windows\*) do @echo %a >> C:\win.txt

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How can I create a printable list from the details view of a folder (in Windows)?

Running the MS-DOS DIR command and "piping" the results to a file does this.


What is an LPT1 on a computer?

It is a device file used for Parallel port. Consider the following command dir >prn (or) lpt1 dir >com1 dir >com2 that is the input is sent to the specified device file or device or a file.


How do you pipe output?

pipe it where? to a textfile? in that case its simple, use the ">", lets say your program you want to pipe output from is called "myfile.exe" then in a cmd windows, you just type: myfile.exe > sometextfile.txt and it will run and output its spew to that file instead of the console... or lets say you want to pipe a directory listing, then its dir > mydrive.txt


What is the difference between a DIR file and EXE file in director?

trdfx5tdifyibh cv5yhtn097g


You stop paying business and personal credit card payments as per attorney advice and file bankruputcy after 9 months for better results?

i dont know the answer dir


What does a file path start with in Windows?

The drive letter followed by colon backslash dir backslash C:\windows\dir


To make a copy of a file use the command?

You can use cp command to make a copy of a file. cp <file 1> <file 2> If you want to make a copy of the entire directory then use the recursive option cp -r <dir 1> <dir 2>


Where is the DIR command located?

The DIR or directory command is located in the system32 directory of Windows. It is an executable file that gives DOS access to a user.


What is the command sequence to open up a local file?

First, navigate to the hard drive, external drive, or USB drive. Click the drive letter, and navigate to the file. Or by command sequence: Type dir to view the file: CD Change directory: \ \ Open: such as DIR E:\\pick.exe/S or E:\\A\\B\\C\\PICK


How do you search fo a particular file in MS-DOS?

Go to the root directory of the drive (eg c:\), then type: dir <filename> /s For example, to search for the file fred.doc, you would type: dir fred.doc /s Adding /s to the dir makes dos search all the subfolders, so starting in the root directory makes dos search the entire disk.


How do you search fo a particular file in MS DOS?

Go to the root directory of the drive (eg c:\), then type: dir <filename> /s For example, to search for the file fred.doc, you would type: dir fred.doc /s Adding /s to the dir makes dos search all the subfolders, so starting in the root directory makes dos search the entire disk.


Where is your gta3.dir file for gta san Andreas?

Anybody Can Help Me What To Do Now My San Andreas Is Working Fine When I'm Adding More Cars suddenly It Came As Error How To Find It gta3.dir