Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

copy command in xp  does not take wild card?

Posted on 2002-05-14
10
Medium Priority
?
452 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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 400 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
 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month15 days, 7 hours left to enroll

576 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