Results 1 to 10 of 10

Thread: old DOS trix

  1. #1
    Junior Member
    Join Date
    Apr 2005
    Posts
    16

    Lightbulb 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.

  2. #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

  3. #3
    Senior Member
    Join Date
    May 2003
    Posts
    1,199
    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
    Everyone is going to die, I am just as good of a reason as any.

    http://think-smarter.blogspot.com

  4. #4
    Junior Member
    Join Date
    Apr 2005
    Posts
    16
    deltree? sounds EntiCing!

  5. #5
    Junior Member
    Join Date
    Apr 2005
    Posts
    16
    ok i understand what ping does, but what or why i guess would you use it?

    whats the practicality of it all?

  6. #6
    Senior Member
    Join Date
    Aug 2002
    Posts
    547
    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

  7. #7
    Senior Member
    Join Date
    Feb 2004
    Posts
    270
    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?

  8. #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)
    O.G at A.O

  9. #9
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    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.

  10. #10
    THE Bastard Sys***** dinowuff's Avatar
    Join Date
    Jun 2003
    Location
    Third planet from the Sun
    Posts
    1,253
    FDISK /CMBR [pick a disk, any disk]
    09:F9:11:02:9D:74:E3:5B8: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
  •