Computing.Net > Forums > Disk Operating System > DOS copy problem

DOS copy problem

Reply to Message Icon

Original Message
Name: Sheryle
Date: August 15, 2004 at 14:48:28 Pacific
Subject: DOS copy problem
OS: Windows XP
CPU/Ram: Athalon 2100
Comment:

I had a virus, booted up in Dos, then did a copy command on a directory, and it copied the directory as a file. Now I have a file in windows XP that I need to change to a directory.
Is there a dos or windows command that I can change this file back to a directory?



Report Offensive Message For Removal


Response Number 1
Name: name
Date: August 15, 2004 at 19:17:17 Pacific
Reply: (edit)

Sounds to me like you are doing this all in X tra P utrid.

XP has no "DOS"

I'm no SP expert, sounds like you need to research the "repair" function of XP


Report Offensive Follow Up For Removal

Response Number 2
Name: Sheryle
Date: August 16, 2004 at 20:06:16 Pacific
Reply: (edit)

I did it from the bootable floppy disk, silly, not xp. I was trying to save files to my second hard drive when the virus crashed the machine, so I booted with a Win98 bootable and did the copy command, but made a directory a file and now I can't view the files under the directory.

Sorry I didn't make myself clearer.


Report Offensive Follow Up For Removal

Response Number 3
Name: jboy
Date: August 16, 2004 at 20:59:50 Pacific
Reply: (edit)

No, I don't believe there's any easy way to undo that sort of thing - you've concatenated a directory's contents into a single file.

You could try to separate them manually, but unless the files are plain text, pretty tricky.

Since you only used the copy command, what about the original folder?

Confusion reigns


Report Offensive Follow Up For Removal

Response Number 4
Name: Sheryle
Date: August 18, 2004 at 17:19:56 Pacific
Reply: (edit)

Formatted......eeak!.....

I will keep searching...and searching.....


Report Offensive Follow Up For Removal

Response Number 5
Name: jboy
Date: August 18, 2004 at 18:54:14 Pacific
Reply: (edit)

Ok, well, good luck.

If you find something that can do it, maybe post back


I'm just looking for clues at the scene of the crime


Report Offensive Follow Up For Removal


Response Number 6
Name: JackG
Date: August 22, 2004 at 22:27:20 Pacific
Reply: (edit)

It depends on exactly what "COPY" command parameters you used, but the resulting file is either a concatenated and most likely truncated file of the data. Or it could just be a copy of the last file in the directory.

In ether case, there is no way to recreate the folder you started with, unless it is a text file that you can open and use NotePad/WordPad to break into files.

For copying folders, you should have been using the XCOPY command.


Report Offensive Follow Up For Removal

Response Number 7
Name: razzem
Date: August 30, 2004 at 15:47:13 Pacific
Reply: (edit)

Hi,

Is there a way to copy one or more files to a remote machine passing in authentication credentials in the copy command in DOS?

And if so, are the shares still required to be created on the remote machines?

I thought it was worth asking.

Thanks for any suggestions,

Yen


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: DOS copy problem

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 6 Days.
Discuss in The Lounge