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.
Printable View
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.
hmmm prolly
copy c:\dir\*.txt c:\all.txt
for mering multiple word files into one
or
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
v_Ln
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 ;)
deltree? sounds EntiCing!
ok i understand what ping does, but what or why i guess would you use it?
whats the practicality of it all?
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
The xp equivalent of a silent deltree.
rd /s /q *
you can use ping to see if the host is alive ....
http://www.computerhope.com/msdos.htm#02
click a command and learn what its used for !
my favorite ?
color a :)
i use systeminfo a lot (works only on XP Pro i think)
Favorite trick? Hmmm.
How about getting the date into a variable?
Or getting the current working directory?Code:FOR /F "tokens=1-4 delims=/- " %%a IN ('DATE /T') DO SET MYDATE=%%b%%c%%d
Whoever dreamed that up?!?Code:FOR /F "delims==" %% i IN ('CD') DO SET cwd=%%i
FDISK /CMBR [pick a disk, any disk]