How do i make a *.txt file of all the files I have in a folder?

shadow

Golden Member
Oct 13, 1999
1,503
0
0
using a pipe command (in dos I know this works) here's the commands for dos

dir > files.txt

the ">" is the pipe command

good luck

*nix works similarly, I believe it's the same command (>), if not it might be the "|" bar command
 

KameLeon

Golden Member
Dec 5, 2000
1,788
1
0
You can make the output more cleaner by using the /B switch:
C:\> dir /B > files.txt
 

kranky

Elite Member
Oct 9, 1999
21,020
156
106
Shadow is right, but one minor nit-pick on the terminology. The angle bracket is the redirection symbol. The vertical bar is the pipe. Redirection changes where a program gets its input or where it sends its output. A pipe connects the output of one program to the input of another.