Solved

copy command in xp  does not take wild card?

Posted on 2002-05-14
10
446 Views
Last Modified: 2008-02-01
Hi,
  My friend's XP box crashed and can only boot into
something like DOS mode now.  He tried to copy
important files from hard drive to the zip drive.

But he found out copy command can only copy one file
at a time, if he try copy c:\images\* e:\, the command
says wild card not accepted.

Any idea?
Thanks.
Sean
0
Comment
Question by:xzhang4
10 Comments
 
LVL 3

Expert Comment

by:slang9
ID: 7009078
Have you tried "copy c:\images\*.* e:\"
0
 
LVL 16

Expert Comment

by:GUEEN
ID: 7009788
Was this home version and fat32 file system? Then you could try xcopy
xcopy c:\images A: /s /e
or xcopy /? at prompt
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 7009871
My friend's XP box crashed and can only boot into
something like DOS mode now
this is probably the repair console, a limited recovery tool
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q314058
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 44

Expert Comment

by:CrazyOne
ID: 7009918
If it is the Repair console note what it says about the copy command from the link Steve provided.

"COPY
copy source destination
Use this command to copy a file. In the command syntax, source specifies the file to copy and destination specifies the folder or file name for the new file. You cannot use wildcard characters (*), and you cannot copy a folder. If you copy a compressed file from the Windows CD-ROM, the file is automatically decompressed as it is copied. "


Unfortunately xcopy is not available in the Recovery Console. Bummer.


The Crazy One
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 7009922
If the file system is FAT32 you could use a Win98 bootdisk and use its copy command to what you want. www.bootdisk.com

Also note this from Steve's link

"Restrictions and Limitations of the Recovery Console
When you use the Windows Recovery Console, you can use only the following folders:
The root folder

The %SystemRoot% folder and the subfolders of the Windows installation that you are currently logged on to

The Cmdcons folder

Removable media drives such as CD-ROM or DVD-ROM drives

NOTE : If you try to obtain access to other folders, you receive an "Access Denied" error message. Also, while you are using the Windows Recovery Console, you cannot copy a file from the local hard disk to a floppy disk. You can copy a file from a floppy disk or from a CD-ROM to a hard disk, and from one hard disk to another hard disk. "
0
 
LVL 16

Accepted Solution

by:
GUEEN earned 100 total points
ID: 7009967
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 7010113
>>>My friend's XP box crashed

Has your freind tried doing any of the following

1. Start the computer and then press the F8 key when Windows begins to start. A menu appears.
Select Last Known Good Configuration (the most recent settings that was known to worked) , and then press ENTER.
If a boot menu appears, select Microsoft Windows XP , and then press ENTER. This restores XP to the most recent restore point.

2. http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q307545
How to Recover from a Corrupted Registry that Prevents Windows XP from Starting (Q307545)

...At the Recovery Console command prompt, type the following lines, pressing ENTER after you type each line:

md tmp
copy c:\windows\system32\config\system c:\windows\tmp\system.bak
copy c:\windows\system32\config\software c:\windows\tmp\software.bak
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
copy c:\windows\system32\config\security c:\windows\tmp\security.bak
copy c:\windows\system32\config\default c:\windows\tmp\default.bak

delete c:\windows\system32\config\system
delete c:\windows\system32\config\software
delete c:\windows\system32\config\sam
delete c:\windows\system32\config\security
delete c:\windows\system32\config\default

copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\software c:\windows\system32\config\software
copy c:\windows\repair\sam c:\windows\system32\config\sam
copy c:\windows\repair\security c:\windows\system32\config\security
copy c:\windows\repair\default c:\windows\system32\config\default

NOTE : This procedure assumes that Windows XP is installed to the C:\Windows folder. Make sure to change C:\Windows to the appropriate windows_folder if it is a different location...

3. How to Repair Windows XP by Installing Over top of Existing Setup:
Sometimes the only way to repair XP is to reinstall. You do not have to wipe your partition and start over. Just as with previous versions of Windows you can install over top of an existing setup. This has the advantage of retaining your installed applications, data and settings. It is always prudent to backup important data before you make changes to XP.

Boot with the Windows XP CD and at the Setup Screen press the Enter Key

You will be taken to the Windows XP Licensing Agreement. After reading the agreement press F8 to proceed.

The next screen gives you the option to do a fresh (clean) install or to "Repair the selected Windows XP installation." Press "R"

Windows XP will copy the necessary files to your Hard Drive to begin the installation  and will then reboot. You will see the message that informs you to "Press any key to boot the CD". Do not press any keys this time just wait a few seconds and the Windows Startup Screen will be displayed. Following this you will be greeted by the Windows XP Setup Screens.
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 7010222
0
 

Author Comment

by:xzhang4
ID: 7011172
Thanks a lot.   I think it is the restriction of recovery console that copy can copy one file at a time.
Also,  when we try to repair the xp, there are some hard disk failure message.  So what we
are trying is just copy some picture files to zip drive and reformat the hard disk.   In that matter,
I am going to try download xcopy command.

Sean
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 7011231
>>>In that matter, I am going to try download xcopy command.

So are you saying you haven't tried using it yet??? Also if you are getting hard disk failure messages you may not be able to copy anything from that disk using convetional methods like xcopy. :>(
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
XP won't boot 27 155
Move XP PC to Vmware 22 145
Asus ks2003 driver XP 32 33 146
Which browser works with XP 16 303
Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question