April 11th, 2005, 01:48 AM
old DOS trix
i have to ask, what is your favorite dos trick?
besides 'ping' i dont know how to use any. i dont even know what to use ping for...
sad i know, but i've been wanting to learn how to use some dos stuf for a long time,
so thnx for your feedback.
April 11th, 2005, 01:52 AM
copy c:\dir\*.txt c:\all.txt
for mering multiple word files into one
dir >> c:\listing.txt
to output a list of all files in a dir to a text file
those are the two things i use most - porlly
April 11th, 2005, 01:53 AM
well lets start you off with ping then. what ping does is it sends out a packet to a specific host and if the host is reached it will send back a packet saying "yay im here". if it is not reached it returns nothing. most firewalls will drop ping requests so just becasue it doesnt respond doesnt mean its not there.
but my favorite tric has to be deltree
April 11th, 2005, 02:01 AM
deltree? sounds EntiCing!
April 11th, 2005, 02:03 AM
ok i understand what ping does, but what or why i guess would you use it?
whats the practicality of it all?
April 11th, 2005, 09:02 AM
well one that i use alot is netstat -ano to see incoming and outgoing conections,
also to change extensions of files
move file.dll file.txt
and some other
April 11th, 2005, 09:08 AM
The xp equivalent of a silent deltree.
rd /s /q *
Since the beginning of time, Man has searched for the answers to the big questions: \'How did we get here?\' \'Is there life after death?\' \'Are we alone?\' But today, in this very theatre, you will be asked to answer the biggest question of them all...WHO LIVES IN A PINEAPPLE UNDER THE SEA?
April 11th, 2005, 09:18 AM
you can use ping to see if the host is alive ....
click a command and learn what its used for !
my favorite ?
i use systeminfo a lot (works only on XP Pro i think)
StreetsCrack.com Join The Best Music Social Network Online.
Music downloads, promotions, forums, profile, games etc...
April 11th, 2005, 03:27 PM
Favorite trick? Hmmm.
How about getting the date into a variable?
Or getting the current working directory?
FOR /F "tokens=1-4 delims=/- " %%a IN ('DATE /T') DO SET MYDATE=%%b%%c%%d
Whoever dreamed that up?!?
FOR /F "delims==" %% i IN ('CD') DO SET cwd=%%i
Experience is something you don't get until just after you need it.
April 11th, 2005, 05:43 PM
FDISK /CMBR [pick a disk, any disk]