Jump to content
xisto Community
Sign in to follow this  
sazz

Command Line (dos) Tips For Windows Xp

Recommended Posts

Windows XP cmd tip (DOS isn’t dead... it just smells funny) Some command-line folder creation examples:To create multiple folders at once, add them directly to the "md" command:C:\> md this is a testTo create a folder several folders deep, use:C:\> md this\is\a\testCreating a folder with a long name requires the double-quote at the beginning:C:\> md "this is a testBonus tip: Windows XP supports the forward slash "/" as a folder divider. Unix/Linux users: don't let the DOS environment get you down. Use a Unix-style CD command to change your present working directory:C:\> cd Windows/system32/drivers/etc

Edited by microscopic^earthling (see edit history)

Share this post


Link to post
Share on other sites

Sweeeeeet tip...thanks sazz :PDidn't know that the md command could do all that stuff. Sure beats creating a new folder and subfolder each time. Just took a look at the md help and there it is...actually didn't mention the on how to create multiple folders though ;)

Share this post


Link to post
Share on other sites

If you want to create a whole list with eg all your song (if they have good naming), you can simply go to the folder with the music and type

dir /b > c:\file.txt

This will create a file in the root folder. The input might look like this (this is my stupid songs folder ;))

41_duitsbalkonlied-hi.mp350cent(1).mp3
abearstail.wmv
Bert & Ernie - de Teletubbies.mp3
Bert & Ernie - Doen Het Veilig.mp3
Bert & Ernie - Sesamstraat Onderwater.mp3
Bert & Ernie - Sprechen Deutsch.mp3
DeRacker_uncut.mp3
duckjob.wav
Eddie Murphie - Ebonics Lesson.mp3
Eric Cartman - Kiss From A Rose.mp3
foundit.wav
Heideroosjes - Ze smelten de paashaas.mp3
jeugdirupo_watskeburt.mp3
MSN-bubbeling-mix.mp3
noggeneukt.mp3
opkeplurt.mp3
S.Park - bethlehem.mp3
S.Park - i'm a jew.mp3
S.Park - Kyle's Mom.mp3
S.Park - O holy.mp3
Sound Effects - Bass - Surround Sound Test - Lucasfilm Thx Speaker Test.mp3
South Park - Unkel ****er.mp3
Southpark - Mortal Combat.mp3
the simpsons - jingle bells.mp3
timbassett-deracker.mp3
tones.mp3
willyfrench.wav
X Rated X Mas - Suck On My *BLEEP*.mp3
ZV CD


Share this post


Link to post
Share on other sites

PING! You can ping a website (and find out its IP). Just don't keep the IP information because some activities you do with it may be considered ILLEGAL or unsafe. We are all good people, so let me tell you how. All you have to do is start up Command Prompt (or CMD.exe), then type "Ping *yourwebsite.com*". Be sure to put www in the beginning!

Share this post


Link to post
Share on other sites

tracert is also a great command line in Windows:
Example:
tracert google.ca

traceroute to google.ca (216.239.59.104), 30 hops max, 40 byte packets 1  192.168.1.1  0.178 ms  0.185 ms  0.187 ms
2  10.104.188.1  20.820 ms  20.724 ms  19.524 ms
3  gw03.mtnk.phub.net.cable.rogers.com (66.185.90.97)  11.519 ms  10.923 ms  8.786 ms
4  64.71.241.49  11.884 ms  10.111 ms  10.918 ms
5  gw02.wlfdle.phub.net.cable.rogers.com (66.185.80.174)  10.787 ms  10.849 ms  12.301 ms
6  gw02.mtnk.phub.net.cable.rogers.com (66.185.80.42)  9.242 ms  9.621 ms  8.743 ms
7  igw01.ny8th.phub.net.cable.rogers.com (66.185.81.13)  32.577 ms  32.650 ms  33.231 ms
8  so-5-0-0.mpr1.lga1.us.above.net (64.124.128.193)  29.768 ms  34.334 ms  33.053 ms
9  so-7-0-0.cr1.lhr3.uk.above.net (64.125.27.10)  114.046 ms  102.004 ms  102.069 ms
10  pos1-0.mpr1.lhr1.uk.above.net (208.184.231.173)  111.377 ms  109.092 ms  103.218 ms
11  213-152-230-99.google.net (213.152.230.99)  103.653 ms  121.814 ms  119.274 ms
12  72.14.238.246  111.479 ms 72.14.238.242  103.521 ms  117.325 ms
13  216.239.49.254  125.260 ms  117.340 ms  111.218 ms
14  216.239.48.158  110.817 ms 216.239.49.121  116.793 ms 216.239.49.114  113.024 ms
15  216.239.49.117  113.997 ms 216.239.59.104  111.273 ms  125.138 ms


and net send. It's a great tool to send messages between computers, but it can be annoying. It's great for sending April Fools jokes too :)

xboxrulz

Share this post


Link to post
Share on other sites

how to get system reboot time from cmd prompt. if we reboot the system and we want to know the system reboot time where we get the time of reboot.

Command Line (dos) Tips For Windows Xp

 

How to get system reboot time from cmd prompt. If we reboot the system and we want to know the system reboot time where we get the time of reboot.

 

 

 

-reply by saroj kumar das

Share this post


Link to post
Share on other sites
Executing a batch script at user log-offCommand Line (dos) Tips For Windows Xp

Hello, I'd want to execute a batch script at user log-off &/or reboot, however with Planned Tasks with XP Home it's not possible.

Do you know any solution?

Thanks

-question by marco

Share this post


Link to post
Share on other sites

My favorite CMD trick is changing color in command prompt. I like to change background color and text color. So i found one command to do this trick.

 

Type color 03 in command prompt.

 

After typing this you'll find that text in command prompt is turning green. This will be limited for single session only. It means it'll revert back to black background when you open next time. To set this changes permanently you've to edit it in properties by right clicking it.

 

 

@Marco, for you to shutdown and reboot automatically at specific intervals you can use freeware shutdown/restart softwares. There are plnety of freeware/shareware or donationware in market. You can use software like Kronos shutdown software for this requirement of yours. You can download kronos time system from fileheap. You can click here for the link. Hope this helps you to solve your problem.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.