Can you help me with "command prompt's" commands in Windowns OS?

By RK
@ragikutty (2460)
Kerala, India
January 7, 2010 7:23am CST
Do you work with command prompt in windows? I need to know how to change directory from C:/ to say, Q:/ and how to copy files using that.
7 responses
@May2k8 (6874)
• Indonesia
7 Jan 10
if you want to change the directory use this command : cd [drive:] for example is just type whatever you want to be destination drive. If you in C:/, and you want to change it to Q:/ then the command is cd Q:, after that press enter.
@owlwings (39780)
• Cambridge, England
7 Jan 10
To change to a different drive, you do not need to use cd. Simply type the drive letter followed by a colon.
@owlwings (39780)
• Cambridge, England
7 Jan 10
In fact (my memory was rusty!) using cd [drive:] will specifically NOT change to another drive.
@May2k8 (6874)
• Indonesia
7 Jan 10
sorry, I miss type because my keyboard is slip.
@owlwings (39780)
• Cambridge, England
7 Jan 10
If you want to change the drive from C:/ to Q:/, all you need to type at the prompt is the letter of the drive (with a colon and forward slash) ... for example: C:/Q:/ will change the active drive to Q: and the prompt will change to Q:/ Remember that the forward slash on its own means 'root'. If you want to change to another directory (perhaps 'Documents') on C:, you need to use the 'cd' command (= 'change directory') as follows: C:/cd Documents will change to prompt to C:/Documents Copying files is done with the command 'copy [filename.ext] [target directory]' which can use wild cards in the filename.ext part. If you want to copy all files with the extension .doc from the Documents folder to a folder called Archive, you would first change to make the Documents folder the active one (as above), then type at the prompt: copy *.doc C:/Archive
@owlwings (39780)
• Cambridge, England
7 Jan 10
Unfortunately MyLot takes spaces out when it thinks they are not necessary! There MUST be a space between commands like 'copy' and 'cd' and the parameters.
@owlwings (39780)
• Cambridge, England
7 Jan 10
The other thing is that the slashes are all the wrong way - they should be '\' not '/' - but the command prompt automatically correct it.
@ragikutty (2460)
• Kerala, India
7 Jan 10
Thanks a lot for this much of information...
• Turkey
7 Jan 10
You got to be careful if you manage to copy files between drives under command prompt. My way is like this: First go to the directory where you want the files to be copied FROM. lets say the directory is c:\test\mylot go there by using simple cd command like this: cd.. cd.. cd.. do this till you reach root of C and then "cd test" then "cd mylot" so you end up in mylot directory. now just go to the drive such as Q by typing this: q: Now either create or navigate to your target directory. after you're done, simply type this: copy c:. /s this will copy all the files including directories under the directory YOU WERE IN JUST BEFORE YOU CHANGED YOUR DRIVE LETTER. I hope I helped you out of that. There are other combinations also like using specific directory adress but it will take longer to explain in here :)
• Turkey
7 Jan 10
opsss. there is a space in this one: c:./s You need to put a space after the dot.
• India
9 Jan 10
Well these guyz have already given you all boring commands of cmd so ill just give u something fun hope u will like it.Watch STAR WARS IV A NEW HOPE in binary in cmd its kinda slow but kewl its in every windows xp pretty kewl thing i have to say i never watched it full coz its very slow but a kewl thing to share or showoff with friends. 1) open cmdu already know how but anyway ill tellstartruncmdenter 2)Then type telnet and hit enter 3)then type o 4)then type towel.blinkenlights.nl and then just pe a little patient it will show credits and stuff all boring part and then u will see STAR WAR IV A NEW HOPE
@coolsudan (313)
• India
8 Jan 10
first u'll be in directory like c:/documents and settings /abc / etc to get out from there to c:/ just type "cd.." this is the command to get to "c:/" after that just type the name of the drive u want to go into like suppose if u want to go into the drive "d" then just type "D:" and press enter it would work..... u can always find the whole list of command if u type "help" in the command prompt
@lovedude (4454)
• India
7 Jan 10
You can go from one directory to another just like that for example you in C:\MyPics just type directory name and enter C:\MyPicsD: and Enter D:\ and to copy from one folder to another just you need to type copy source destination C:\MyPicscopy DSC123.jpg D:\MyPics\123.jpg file will be copied to destination if you want to move all files use *.* C:\MyPicscopy *.* D:\MyPics\ and to get help you type /? after command you will get all information C:\Mypicscopy /? it will list all the options. Good Luck..
@nocturn98 (956)
• Venezuela
7 Jan 10
It would be hard to type all the syntax here in the response box so I will just give you a link on where you can see all of them. I hope it helps. http://kb.wisc.edu/helpdesk/page.php?id=903