Tricks in cmd.exe
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Tricks in cmd.exe

  1. #1
    Senior Member
    Join Date
    Aug 2004
    Posts
    149

    Tricks in cmd.exe

    Most of us (who use windows to its full extent) have used the command interpreter once or twice. I created this thread out of curiosity. (i may have been a little board....)
    I would like anybody to post any tricks they discovered using commands in the command interpreter......

    Example:
    Did you know that if you enter the boot options menu during startup. And select "safe mode with command prompt", login, and once you hit the command prompt you can type "start explorer.exe" and the windows safe mode GUI will pop up.

  2. #2
    Senior Member gore's Avatar
    Join Date
    Oct 2002
    Location
    Michigan
    Posts
    7,177
    This should probably be in the OS forum, but anyway:

    color 06

    color 03

    color some other number

    That will add color.

    rmdir C: *.* /y

  3. #3
    well, guys you can type in help and see all the commands and then type the command like dir and then add an /? at the end and see what other variation of the command are available

    btw: you can type the commands in the run box, you dont need cmd open


    oh this one is quiet usefull at times..

    type the command like netstat -a and then type in |more

    Code:
    netstat -a |more
    that |more stops the scrolling untill you press enter , so you can view everything slow and easy.....
    StreetsCrack.com Join The Best Music Social Network Online. Music downloads, promotions, forums, profile, games etc...

  4. #4
    Senior Member
    Join Date
    Aug 2004
    Posts
    149
    heres another one i like to use alot

    [gloworange]shutdown -s -f -t 120 -c "smile bits"[/gloworange]
    REM "i like to use this command when i'm playing around with my
    roommate when he is working on our home server......."
    ________________________________________________

    if you use the shutdown command and wish to abort use
    [gloworange] shutdown -a[/gloworange]

    _________________________________________________

    another cool one is
    [gloworange] taskkill /F /IM svchost.exe[/gloworange]

  5. #5

  6. #6
    Senior Member
    Join Date
    Aug 2004
    Posts
    149
    those websites would have been helpfull when i first started working with DOS.... i'm a little more advanced then what those pages have to offer. however those would be great for someone who would like to begain learning DOS..


    thanks for your post lepricaun

  7. #7
    BANNED
    Join Date
    Nov 2003
    Location
    San Diego
    Posts
    724
    that |more stops the scrolling untill you press enter , so you can view everything slow and easy.....
    I think they are called pipes. Here's a couple of pages on them.
    linux:
    http://www.linuxforum.com/redhat/s1-...ing-pipes.html
    http://www.linuxjournal.com/article.php?sid=2156
    I don't know if they call them pipes in windows but here's a page on the |more command:
    http://www.microsoft.com/windowsxp/h...oc/en/more.asp
    And here's a page on commands for the command line:
    http://www.microsoft.com/windowsxp/h.../en/ntcmds.asp
    When death sleeps it dreams of you...

  8. #8
    Senior Member
    Join Date
    Aug 2004
    Posts
    149
    yes they are called pipes...

    here is an example
    [gloworange] ipconfig | find "IP Address."[/gloworange]

  9. #9
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    Did you know you can drag 'n drop files and folders into a cmd shell?

    It can save you a lot of typing, especially if the path is long..
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  10. #10
    Originally posted here by devildell
    those websites would have been helpfull when i first started working with DOS.... i'm a little more advanced then what those pages have to offer. however those would be great for someone who would like to begain learning DOS..


    thanks for your post lepricaun
    i believe (if i'm not mistaken) the last one did have a "tips and tricks" page, perhaps it has something useful for you there

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •