Why not register?
|
Page 1 of 1
|
[ 10 posts ] |
|
Author |
Message |
satan
|
Posted: Sat Mar 13, 2004 1:47 pm Post subject: Directory dump witin CMD |
|
a member of the recently deceased Joined: Mon Jul 28, 2003 8:07 am Posts: 2564 Location: Hell ___________________________ ------ Horror Dealer ------
|
How do I do a directory dump witin CMD?
thanks
|
|
Top |
|
|
satan
|
Posted: Sat Mar 13, 2004 1:49 pm Post subject: |
|
a member of the recently deceased Joined: Mon Jul 28, 2003 8:07 am Posts: 2564 Location: Hell ___________________________ ------ Horror Dealer ------
|
dir "what it is" dump /balh.txt?
I'm new school, fogot basic with childhood.=(
|
|
Top |
|
|
Polityk
|
Posted: Sat Mar 13, 2004 2:07 pm Post subject: |
|
Mod of the Living Dead Joined: Fri Nov 22, 2002 4:30 pm Posts: 3346 Location: Where dead angels lie
|
*changed thread title*
_________________ "When I was a kid we fuckin' respected our parents, we didn't fuckin' eat them!"
|
|
Top |
|
|
spudthedestroyer
|
Posted: Sat Mar 13, 2004 2:14 pm Post subject: |
|
Site Admin Joined: Sat Nov 02, 2002 1:35 am Posts: 19756 Location: En España
|
Tree <path> > <pathandfilename>
TREE is the dos command for tree structure
<path> is the specified root
> is pipping to
<pathandfilename> is the file to store the structure to
ie.
TREE d:\games > d:\1.txt
for files as well, add the flag /f
TREE d:\games /f > d:\1.txt
_________________ Mouse nipple for the win! Trackpoint or death!
|
|
Top |
|
|
satan
|
Posted: Sat Mar 13, 2004 2:26 pm Post subject: |
|
a member of the recently deceased Joined: Mon Jul 28, 2003 8:07 am Posts: 2564 Location: Hell ___________________________ ------ Horror Dealer ------
|
spudthedestroyer wrote: | Tree <path> > <pathandfilename>
TREE is the dos command for tree structure <path> is the specified root > is pipping to <pathandfilename> is the file to store the structure to
ie. TREE d:\games > d:\1.txt
for files as well, add the flag /f
TREE d:\games /f > d:\1.txt |
tried this and got an :
"> was unecpected ast this time" =(
|
|
Top |
|
|
spudthedestroyer
|
Posted: Sat Mar 13, 2004 2:29 pm Post subject: |
|
Site Admin Joined: Sat Nov 02, 2002 1:35 am Posts: 19756 Location: En España
|
hmm > is the command for piping, in all major operating systems infact (nix and dos included). I tried the command above, TREE d:\games > d:\1.txt and it dumped the tree structure into the text file.
Definitely working. Tried the /f one and it dumped a list of files too.
Make sure you've put spaces in and you have created the text file in question, just incase its a typo.
_________________ Mouse nipple for the win! Trackpoint or death!
|
|
Top |
|
|
satan
|
Posted: Sat Mar 13, 2004 2:35 pm Post subject: |
|
a member of the recently deceased Joined: Mon Jul 28, 2003 8:07 am Posts: 2564 Location: Hell ___________________________ ------ Horror Dealer ------
|
still don't see a file.=(
Got too many parameters within the text, at least the one on the C;/ root.
Last edited by satan on Sat Mar 13, 2004 2:37 pm, edited 1 time in total.
|
|
Top |
|
|
spudthedestroyer
|
Posted: Sat Mar 13, 2004 2:36 pm Post subject: |
|
Site Admin Joined: Sat Nov 02, 2002 1:35 am Posts: 19756 Location: En España
|
you have to create the file first
_________________ Mouse nipple for the win! Trackpoint or death!
|
|
Top |
|
|
satan
|
Posted: Sat Mar 13, 2004 2:46 pm Post subject: |
|
a member of the recently deceased Joined: Mon Jul 28, 2003 8:07 am Posts: 2564 Location: Hell ___________________________ ------ Horror Dealer ------
|
nevermind, Had to put all in the root.=(
As in the txt had to be the c:/txt.
Last edited by satan on Sat Mar 13, 2004 2:54 pm, edited 1 time in total.
|
|
Top |
|
|
satan
|
Posted: Sat Mar 13, 2004 2:47 pm Post subject: |
|
a member of the recently deceased Joined: Mon Jul 28, 2003 8:07 am Posts: 2564 Location: Hell ___________________________ ------ Horror Dealer ------
|
|
Top |
|
|
|
Page 1 of 1
|
[ 10 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 10 guests |
Moderator: Help Mods
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|