Need command prompt help for recovery

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Praxis
Sith Acolyte
Posts: 6012
Joined: 2002-12-22 04:02pm
Contact:

Need command prompt help for recovery

Post by Praxis »

Okay, so I've got a friend's dead computer that won't boot properly into Windows- I can get it in to Safe Mode with Command Prompt though.

Strangely, I can't boot off any of my Knoppix disks.

I've got an external drive hooked up, and he's got one huge directory with many, many gigs of files, more than the old external drive can hold.

To be specific, there is one folder ("Music") which contains hundreds of other directories (bands) each of which contains a few files.

So, I try to copy the whole thing, but it only gets halfway through (copies everything through the letter R) before it runs out of space. No big deal, I take it to my PC, copy everything to the PC, wipe the drive again, and hook it back up.

Here's the problem. If I try to copy the whole folder again, it'll only copy the first half (letters A-R) which I already have on the other PC now.


Is there a way to copy in reverse alphabetical order, or a way to copy every folder starting with a letter (trying xcopy *s E:\ /s only results in it copying every FILE with the letter s, not every folder), or a way to delete every folder starting with a letter?

There's too many folders for me to manually delete one by one or manually copy one by one.

Thanks!
MJ12 Commando
Padawan Learner
Posts: 289
Joined: 2007-02-01 07:35am

Post by MJ12 Commando »

Which version of Windows is this? That changes some of the commands IIRC, so that might be necessary. For now I'll assume windows XP, in which case try taking a gander at this: http://technet.microsoft.com/en-us/libr ... 91035.aspx

It looks like you'd use /s or /e to copy everything you want.

For Vista, you would use Robocopy instead: http://en.wikipedia.org/wiki/Robocopy
User avatar
Praxis
Sith Acolyte
Posts: 6012
Joined: 2002-12-22 04:02pm
Contact:

Post by Praxis »

Windows XP, and like I said in my post, I already tried xcopy /s... I run out of disk space before I can copy all of it, and I have no way to start from the other end.
User avatar
Beowulf
The Patrician
Posts: 10621
Joined: 2002-07-04 01:18am
Location: 32ULV

Post by Beowulf »

You need to use the /exclude option.
"preemptive killing of cops might not be such a bad idea from a personal saftey[sic] standpoint..." --Keevan Colton
"There's a word for bias you can't see: Yours." -- William Saletan
User avatar
Uraniun235
Emperor's Hand
Posts: 13772
Joined: 2002-09-12 12:47am
Location: OREGON
Contact:

Post by Uraniun235 »

It might be easier to just pull his drive out and put it into another computer to transfer the files.
"There is no "taboo" on using nuclear weapons." -Julhelm
Image
What is Project Zohar?
"On a serious note (well not really) I did sometimes jump in and rate nBSG episodes a '5' before the episode even aired or I saw it." - RogueIce explaining that episode ratings on SDN tv show threads are bunk
User avatar
Braedley
Jedi Council Member
Posts: 1716
Joined: 2005-03-22 03:28pm
Location: Ida Galaxy
Contact:

Post by Braedley »

The most likely reason that you can't boot to a live cd is that the harddrive is a higher boot priority than the cd drive. Quick change in the bios will fix that. I agree with just sticking the drive into another computer to copy the files. Also, you can just select R through Z for the rest of the files. That would be the easiest way. Except that you're running in cmd line, my apologies.
Image
My brother and sister-in-law: "Do you know where milk comes from?"
My niece: "Yeah, from the fridge!"
User avatar
Praxis
Sith Acolyte
Posts: 6012
Joined: 2002-12-22 04:02pm
Contact:

Post by Praxis »

Braedley wrote:The most likely reason that you can't boot to a live cd is that the harddrive is a higher boot priority than the cd drive. Quick change in the bios will fix that. I agree with just sticking the drive into another computer to copy the files. Also, you can just select R through Z for the rest of the files. That would be the easiest way. Except that you're running in cmd line, my apologies.
No, I get further than that; I get to the Knoppix boot screen, and type "knoppix" after the "boot:" prompt. It starts booting, but when it gets to the part where it checks the CD drive it promptly locks up.

Tried an older build of Knoppix STD and a current Linux built. No clue why it's doing it.

I do Windows desktop support for a living, I know them basics :) Just can't figure out a way to get R through Z in Command Prompt. I guess the point is moot- I went and wiped my external drive (after moving files off to my larger FireWire drive, but this PC doesn't have FireWire) to make the Windows partition larger. I'll just copy everything on to that.
Post Reply