Nov 22, 2009

Command Line (dos) Tips For Windows Xp

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Operating Systems > Windows (All Versions)

Command Line (dos) Tips For Windows Xp

sazz
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 test

To create a folder several folders deep, use:

C:\> md this\is\a\test

Creating a folder with a long name requires the double-quote at the beginning:

C:\> md "this is a test

Bonus 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

Comment/Reply (w/o sign-up)

WeaponX
Sweeeeeet tip...thanks sazz biggrin.gif

Didn'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 cool.gif

Comment/Reply (w/o sign-up)

wutske
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 biggrin.gif)

QUOTE
41_duitsbalkonlied-hi.mp3
50cent(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 Cock.mp3
ZV CD

 

 

 


Comment/Reply (w/o sign-up)

magicabloom
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!

Comment/Reply (w/o sign-up)

xboxrulz
tracert is also a great command line in Windows:
Example:
tracert google.ca
QUOTE
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 wink.gif

xboxrulz

Comment/Reply (w/o sign-up)

FeedBacker
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

Comment/Reply (w/o sign-up)

(G)marco
Executing a batch script at user log-off
Command 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

Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : command, line, dos, tips, windows, xp

  1. What Do You Guys Think Of Windows 7?
    The 'WoW' Starts 'NoW' (32)
  2. Windows Black Edition
    (13)
    Which version of windows is microsoft releasing after Vista?I heard that it is releasing microsoft
    windows black /. Does anybody know about it?....
  3. Windows 7
    (14)
    when will microsoft release windows7? does it have any cool features or new feature? can anyone tell
    me more about this ? thanks.......
  4. Why I May Be Installing Windows Xp Sp3 Again
    (16)
    This is a sad tale of a man and his machine that would not start again. The story continues with a
    sorted affair between two operating systems and a battle to win the love of this man’s heart. My
    problems began last weekend when I started my computer after it had been off from the previous
    night. Everything went normally throughout the POST but once Windows XP started I heard the dreaded
    clicking from the hard drive. After several reboots and a Spinrite diagnostic I gave up and called
    the time of death around three in the afternoon. This is not all bad because I had....
  5. Windows Xp Service Pack 3 - Updates
    (19)
    its been a couple or more year, Microsoft haven't release a 3rd version of their service pack,
    for Micorsoft's Windows XP. In the late 2007, Microsoft had announce of the release of their
    Service Pack 3 for Microsoft Windows XP. Windows XP Service Pack 3 (SP3) is currently in
    development. As of January 2008, Microsoft's web site indicates a "preliminary" release date to
    be in the first half of 2008.A feature set overview has been posted by Microsof and details new
    features available separately as standalone updates to Windows XP, as well as features backpor....
  6. How To Login To An Expired Windows Vista System
    based on How To Login To An Expired Windows Xp System (2)
    I just read How To Login To An Expired Windows Xp System . This gave me a nice Windows Vista
    mini-tutorial. Notice!!! I'm not advertising piracy!! It's just a matter of having
    the rights to access your files, and it doesn't approve that it restores the full function of
    Windows Vista, and besides How To Login To An Expired Windows Vista System 1) Login until you go
    unto the windows where it says that the Windows has expired. 2) Click on the purchase new serial
    key. (yehey!!! /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="s....
  7. Windows 98 Transfer
    Just plug it in? (5)
    Ok as the other topic said, I am planning to purchase a new computer sometime soon. We have Windows
    98 on the old machine and I don't want to throw it out just yet. I need Internet Explorer 6/5.5
    for web page testing and obviously I can't run both Windows Internet Explorer 7 and 6 on Windows
    XP. So I am planning to transfer the entire hard drive over to the new system. A few issues though:
    Will Windows 98 with such "powerful" components? System has 512MB RAM, Intel Pentium 4 3GHz
    processor, 7.1 sound card, integrated video card and DVD+RW burner are the main com....
  8. 100 Reasons To Use Windows Vista
    No, really?? (14)
    Recently, I have received an "Exploring Windows" email from Microsoft, which led me to an
    interesting link called 100 Reasons You'll be speechless. Thought it was related to Windows
    Vista, and it was. Here are some of my opinions: 1. It makes using your PC a breeze, if Windows is
    responding most of the time. Also, many users have complained about User Account Control, which say
    that it makes using the PC not a breeze. I haven't tried it yet, but from others' point of
    view, it seems to be intrusive and annoying. 2. Your music may be a click away from your re....
  9. Windows Vista Is Awesome!
    I've recently got Windows Vista and I've had very few problems (26)
    ATTENTION ALL READERS! WINDOWS VISTA IS AWESOME - I REPEAT - WINDOWS VISTA IS AWESOME! I think
    Windows Vista is an incredibly good operating system which allows you to do so much more than XP.
    The new look, design, simplicity, controls and layout are all fantastic. I've got a clock and a
    calendar on the right hand side of my desktop and all my icons easier and clearer to recognise. It
    takes under 5 seconds to log in and the graphics are just great. I've got Windows Vista Home
    Premium and as long as I install the compatible drivers, all the software works! I'....
  10. How To Login To An Expired Windows Xp System
    (18)
    Disclaimer from the site: QUOTE Disclaimer: I do not applaud piracy, but I do feel people
    should have access to their personal files, regardless of whether Windows has expired or not. This
    tutorial should not be used to bypass Windows Activation, nor does it restore full Windows
    functionality, but I provide it to those who are in desperate need of accessing files that are
    suddenly lost to them through the Microsoft Genuine Advantage activation system. I just
    came across this interesting tutorial. By now, everyone is familiar with Windows XP's....
  11. Help Needed To Create Windows Startup Script!
    (5)
    Hi all, I need a help from any one out here! I need to display one confirmation box using windows
    startup script! I need to run this script on each and every client system in my LAN! Here is the
    requirement: The script should ask the user to click yes to continue or no to exit. If the user
    click yes, that should open Internet Explorer with some site , Say google.com and after filling some
    forms and after closing the browser, that should bring to regular login screen which says, cntrl alt
    del to login! If the user directly preses the no button, that should close the co....
  12. How To Boot To Command Prompt
    (13)
    Ok .. Heres a weird one. I have a laptop and no floppy drive, I want to boot up to command prompt so
    i can manually use the format command (Vista RC1 would keep your old windows files as "windows.old"
    and occoupy that much of space). Is there a way i could make a cd thats similar to a Start-up Disk
    ? Regards Dhanesh. ....
  13. Deleting A Corrupt File
    Cannot delete a corrupt file on Windows XP... (31)
    I was upgrading some software and came across a corrupt file that halted the installation process. I
    went to see what was wrong with the file, and failed to manually delete it. I tried moving
    (cut&paste) it to another location, and the installation succeeded. However, the file is still on my
    drive, taking up a KB of space. I know that's not a lot, but where am I supposed to put it? In a
    folder created especially for all the corrupt files on my computer? /blink.gif"
    style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> I've heard
    something....
  14. Lock Workstation Shortcut
    How to make a shortcut to lock your windows computer (11)
    1) Right click on desktop and select add new shortcut 2) In the 'Type Location of the item:'
    box type or copy %windir%\System32\rundll32.exe user32.dll,LockWorkStation then click 'next'
    3) In the 'Type a name for this shortcut:' box type or copy "Lock Workstation" and click
    'Finish' 4) Now if you would like go to properties and Change Icon browse to:
    %SystemRoot%\explorer.exe and I use the red circle with the white x ....
  15. Windows XP Folder Encryption Key ?
    Where is the Windows XP encryption Key saved. (15)
    Does any one know where is the encryption key in Windows XP stored. In other words how can one get
    encryption key. Or how to retrive the data without the encrytion key. By encrypting a file or
    folder, we are converting it to a format that can't be read by other people. A file encryption
    key is added to files or folders that you choose to encrypt. This key is needed to read the file.
    ....
  16. Downgrade Windows MCE To XP?
    (9)
    Is it possible to downgrade a Windows Media Center Edition computer to use Windows XP instead?
    Someone is having so much problems with this machine and I think it's the Operating System
    causing the problem. I told her to reinstall Windows MCE, but I don't think they gave her any
    Windows CDs. I think she got it burned from a recovery partition after I told her to look for one.
    But that doesn't seem to work. So I'm thinking of downgrading to XP as a possible solution.
    Isn't Windows MCE very similar to Windows XP, aside from the extra media features? Th....
  17. Windows Xp Bsod Troubles
    (5)
    Our family computer is running Windows XP Home SP2 with all the latest updates installed and we
    constantly get Blue Screens of Death. The most common is DRIVER_IRQL_NOT_EQUAL_OR_LESS in NDIS.sys
    and portcls.sys. I have googled this many times and found nothing to help but I have heard the two
    files are for the network card and sound card respectively. The computer has the following specs:
    - Intel Pentium 4 3.0GHz - Gigabyte 85661FXMP-RZ motherboard with Award v. 6.0 BIOS - NIVIDIA
    GeForce FX 5200 - No idea what the network card and sound cards are but we use the net....
  18. Can You Create A Folder Name "con"
    Is it possible to create a folder named "CON" in Windows? (22)
    I tried in both Windows XP Home and Professional. If you try to make a folder named "CON" Windows XP
    renames it back to what it was. So creating a new folder with the name "CON" just renames it to "New
    Folder". The bug seems like a variable that got treated as a string or vice-versa. Trying to create
    the folder from a cmd prompt failed with an error "The directory name is invalid.". This also works
    when you try to create a file called "CON", or "CON.". ".CON" shows up the way it should. Somewhere
    I found the reason that CON stands for CONsole which is device name but....
  19. The Best Version Of Windows
    (52)
    With all the different flavors of Windows, what in your opinion is the best version? Win95, Win98,
    Win98SE, WinNT, Win2000, WinXP, Vista, and even remember Windows 3.1? I hear that hardcore Windows
    users are in love with Win98SE for some reason? Is there any justification behind this? I mean
    this is a version of Windows that is definitely not supported anymore, but is the security and
    stability of this version that much better where it doesn't need support? Personally, I really
    like Win2000 over any other version. It seems more secure and stable, and I'm pr....
  20. Windows Problems "new Series"- Xp Home Edition Activation Issue
    (7)
    i never used Windows XP Home edition before, in these days i have no way to use it on my work pc,
    have no profissional edition and i don't want to buy one, in fact i hate windows at all, i use
    linux and it's so good and enough to me, but i must use it noway. after i installed it, it asked
    me to activate it, i went into the activation process, finally it told me to call any microsoft
    products reseller or something like that to provide me with a new product number as they say in that
    message: QUOTE According to our records, the number of times you can activ....
  21. Help: Adding My Videos Folder To Start Menu
    Windows XP Only (12)
    Okay, I am halfway to being able to add the My Videos Folder (the only of the special My folder I
    really use) to the start panel. For those of you who don't know what I am talking about, make
    sure you have the new XP start menu not classic, then open your start menu. The right side is the
    start panel, and it should have links to things like My Documents, My Music, My Computer, etc. The
    only one you can't add to it (you add features to it from the properties page) is the My Videos
    File. No, my method: 1) Knowing Windows as well as I do, first thing after ex....
  22. Using Same Serial # On Multiple Copies Of Windows
    (31)
    I heard it is possible to run more than one computers on the same serial of Windows. I also heard
    that it can be registered and use all the functions of any legal copy of Windows. Lets say I have 4
    computers in my house and don't want to pay $800 for windows on each one if I build them all
    myself. I can just put same serial on all of them. But I heard this is also breaking the EULA
    agreement with Microsoft which redeems this being illegal or improper use of windows. I would like
    to hear your sides on this, or the whole truth behind this. If so does this mean somebody....
  23. Chmoding On Windows (apache) ? Howto ?
    (5)
    Hi, I've recently installed Apache 1.3.34 on my Windows XP machine. Does anyone know how to CMOD
    files to specific values? I've read somewhere that if you set the file to 'readable'
    that is the equivalent of CHMODing it to 777...is this true? By the way, sorry if this is in the
    wrong forum section. I wasn't really sure where to put this.....
  24. Command Prompt Tips
    (11)
    Command Prompt tips How to change Command Prompt settings You can easily change Windows
    Command Prompt settings, such as: Font, Font Size, Color, background, Buffer Size and … To change
    Command Prompt, Right-click the title bar of the command prompt window, and select Properties. Here
    you can change command prompt settings. How to copy text from a Command Prompt 1-Right-click the
    title bar of the command prompt window, click Edit> and select Mark. 2- Now, you can select the text
    you want to copy, just click and drag the cursor to select the text. 3- Right-click....
  25. How To Create "ghost" Images (norton) On Windows
    (53)
    Hi, I'm tired of wasting so much time on a site when I have to reinstall Windows from scratch.
    Want to speed up the process a little since I have to install Windows XP, any Service Packs, Norton
    Antivirus and Microsoft AntiSpyware for the computers. I want to create images of good working
    Window states, but have some questions. 1. How much faster would this be compared to reinstalling
    everything manually? I will be doing this from an external hard drive. 2. What are the chances of
    an image not working assuming that the image created is good? I heard that these ....
  26. How To Repair Disk Errors And Bad Sectors
    Windows Xp,2000,Nt (5)
    How to repair disk errors and bad sectors in Windows Xp,2000,NT You can use Windows Disk Manager
    tool to check for file system errors and bad sectors on your hard disk. To check your drives:
    1- right click on drive and click Properties 2- click Tools tab and under Error-checking, click
    Check Now 3- in dialog box select the Automatically fix file system errors or/and Scan for and
    attempt recovery of bad sectors check box Automatically fix file system errors ....
  27. Where Does Windows Xp Store Its Passwords ?
    (18)
    Is thre a file where password information is kept in windows XP? If so what is it's name and
    where is it located?....
  28. A Note To All Illegal Windows Xp Owners
    (55)
    Hi, all illegal Windows XP users WILL NOT be able to download any updates or software from Microsoft
    website. Automatic Updates will no longer work, because Microsoft will have to ask for your Software
    identification.....
  29. How To Increase Windows Shutdown Speed
    when you enabled “clear Page File at shu (45)
    How to increase Windows shutdown speed when you enabled “clear Page File at shutdown”? /blink.gif"
    style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> Note that making
    incorrectly changes to the registry may damage your system; please back up any valued data on your
    computer. 1) Go to Start menu > Run > and type regedit and click OK. 2) Find following address:
    HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \Session Manager \ Memory Management
    3) In right side right click on “ClearPageFileAtShutdown”, select Modify and make value of ....
  30. Windows Not Recognizing Ipod
    (33)
    OK, I'm running Windows XP and my iPod is not detected when I plug it in. The only things that
    I could guess are wrong are that I recently had a trojan, known as BackDoor-AWI and that my router
    flaked out and I have no internet on the computer in question now. I'm not sure what happened,
    but for some reason, McAfee is telling me that it's all screwed up on startup. So it's not
    even running anymore. My computer does recognize USB keys, but will not see my iPod for some
    reason. Any ideas?....

    1. Looking for command, line, dos, tips, windows, xp

See Also,

*SIMILAR VIDEOS*
Searching Video's for command, line, dos, tips, windows, xp
Similar
What Do You Guys Think Of Windows 7? - The 'WoW' Starts 'NoW'
Windows Black Edition
Windows 7
Why I May Be Installing Windows Xp Sp3 Again
Windows Xp Service Pack 3 - Updates
How To Login To An Expired Windows Vista System - based on How To Login To An Expired Windows Xp System
Windows 98 Transfer - Just plug it in?
100 Reasons To Use Windows Vista - No, really??
Windows Vista Is Awesome! - I've recently got Windows Vista and I've had very few problems
How To Login To An Expired Windows Xp System
Help Needed To Create Windows Startup Script!
How To Boot To Command Prompt
Deleting A Corrupt File - Cannot delete a corrupt file on Windows XP...
Lock Workstation Shortcut - How to make a shortcut to lock your windows computer
Windows XP Folder Encryption Key ? - Where is the Windows XP encryption Key saved.
Downgrade Windows MCE To XP?
Windows Xp Bsod Troubles
Can You Create A Folder Name "con" - Is it possible to create a folder named "CON" in Windows?
The Best Version Of Windows
Windows Problems "new Series"- Xp Home Edition Activation Issue
Help: Adding My Videos Folder To Start Menu - Windows XP Only
Using Same Serial # On Multiple Copies Of Windows
Chmoding On Windows (apache) ? Howto ?
Command Prompt Tips
How To Create "ghost" Images (norton) On Windows
How To Repair Disk Errors And Bad Sectors - Windows Xp,2000,Nt
Where Does Windows Xp Store Its Passwords ?
A Note To All Illegal Windows Xp Owners
How To Increase Windows Shutdown Speed - when you enabled “clear Page File at shu
Windows Not Recognizing Ipod
advertisement



Command Line (dos) Tips For Windows Xp

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com