Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Whats the dos command to list all hard drives?  (Read 31145 times)

0 Members and 1 Guest are viewing this topic.

BossChase

  • Guest
Whats the dos command to list all hard drives?
« on: August 19, 2008, 01:01:12 AM »
I have a crashed vista system and techsupport says I need to send it off so they can fix it but I have to get some files off the hard drive first.

I have a usb hard drive and i'm trying copy everything to it but I cant tell what the drive letter is.

it used to be M: but I had alot of other stuff plugged in and its not any more.

i'm trying to use this to do it

xcopy c:\ m:\ /c/h/e/r/k/y/s

I dont know if there is a way to copy files that were on the desktop?

Thanks

Dusty



    Egghead

  • I could if she would, but she won't so I don't.
  • Thanked: 75
  • Experience: Beginner
  • OS: Windows XP
Re: Whats the dos command to list all hard drives?
« Reply #1 on: August 19, 2008, 02:04:25 AM »
Welcome to the CH forums.

What operating system will you use to run XCopy?

Quote
I dont know if there is a way to copy files that were on the desktop?

The desktop is just another folder so should be copied if your copy operation is successful.
One good deed is worth more than a year of good intentions.

Carbon Dudeoxide

  • Global Moderator

  • Mastermind
  • Thanked: 169
    • Yes
    • Yes
    • Yes
  • Certifications: List
  • Experience: Guru
  • OS: Mac OS
Re: Whats the dos command to list all hard drives?
« Reply #2 on: August 19, 2008, 03:13:54 AM »
Quote
I have a usb hard drive and i'm trying copy everything to it but I cant tell what the drive letter is.
This is a very lengthy and time consuming process (that might not even work).
I suggest you back up only important data like personal files. You may also want to back up My Documents and Program Files.
Copying the entire Operating System is just not necessary.

Quote
xcopy c:\ m:\ /c/h/e/r/k/y/s
I'm no expert....but does this look right?  ???

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: Whats the dos command to list all hard drives?
« Reply #3 on: August 19, 2008, 05:15:04 AM »
Quote
I have a usb hard drive and i'm trying copy everything to it but I cant tell what the drive letter is

You can use this at the command prompt to see what drive letters you have: echo list volume | diskpart

Good luck.  8)
« Last Edit: August 19, 2008, 05:29:16 AM by Sidewinder »
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein

fireballs



    Apprentice

  • Code:Terminal
  • Thanked: 3
    Re: Whats the dos command to list all hard drives?
    « Reply #4 on: August 19, 2008, 05:20:03 AM »
    OK xcopy /? gives help with these things and a cursory glance at that says it's all wrong. CD is right there's no point copying system files so scrap the /h. /e and /s do opposite things. I'd stick with /s. /y is automatic you only need to put it in if you don't want it (/-y). This should work:

    Code: [Select]
    xcopy c:\ <new drive letter> /c /s /r /k
    FB
    Next time google it.