-
April 11th, 2005, 12:48 AM
#1
Junior Member
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, 12:52 AM
#2
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
-
April 11th, 2005, 12:53 AM
#3
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, 01:01 AM
#4
Junior Member
deltree? sounds EntiCing!
-
April 11th, 2005, 01:03 AM
#5
Junior Member
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, 08:02 AM
#6
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, 08:08 AM
#7
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, 08:18 AM
#8
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)
-
April 11th, 2005, 02:27 PM
#9
Favorite trick? Hmmm.
How about getting the date into a variable?
Code:
FOR /F "tokens=1-4 delims=/- " %%a IN ('DATE /T') DO SET MYDATE=%%b%%c%%d
Or getting the current working directory?
Code:
FOR /F "delims==" %% i IN ('CD') DO SET cwd=%%i
Whoever dreamed that up?!?
Oliver's Law:
Experience is something you don't get until just after you need it.
-
April 11th, 2005, 04:43 PM
#10
FDISK /CMBR [pick a disk, any disk]
09:F9:11:02:9D:74:E3:5B 8:41:56:C5:63:56:88:C0
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|