13 replies
by thechas
Yes, it is possible to find and copy files from DOS.
I am not aware of any "global" command to search out files by extension.
Some basic DOS commands:
Change drive (drive letter): (hit enter)
d:
Change folder CD (new path) hit enter
cd my_docu~
should take you to My Documents.
DOS uses 8 characters for ALL file and folder names.
List files or folders dir (press enter)
dir
list one page of files
dir /p
list just file names spread across the screen in columns
dir /w
list just .DOC files
dir *.doc
Copy a file:
copy (file name)(path and file name)
copy letter.doc a:\letter.doc
Copy a group of documents:
copy *.doc a:\*.*
That said, I find it much easier to install the drive in a working PC and use Windows Explorer to copy files. I then burn them to a CD.
I use a "hot-swap" tray. But, you can use any free IDE connector. Just be sure that all drives connected to the IDE cable have their jumpers set properly.
As a side note: While I generally prefer V-Com System Suite, I have found that Norton System Works can do a better job at file and drive recovery.
Chas
by akstephr
Thank you, thank you, thank you!!!! Also, as an FYI, I had tried to slave it to another machine with the jumpers set correctly, and both machines I tried it in refused to boot, so I was left with the DOS prompt option. I was able to recover 95% of her data, so life is good, and she is making backups now. Thanks again.
by 1stladytech
You can use the dir command globally to find *.doc or *.xls files using the /s switch. At the dos prompt type
dir *.doc /s /p
that will give you a listing, one page at a time, of all doc files on the computer. You can then keep track of where the files are in order to move them. If all files are less than 1.4 meg, you can copy them to floppies by using the copy command. An easier way than trying to copy them to floppies would be to put the drive in a different computer and then move the files that you want to a good hdd. Alternately, you could replace the hdd in this computer, reload the op sys and then cable the old hdd in as a slave and retrive files that way. Much faster and less confusing.
Vickie
by akstephr
Poster rated this answer.
by otl
by akstephr
Poster rated this answer.
by cactus pete
All the above answers are correct - but I'll add:
If the machine is a laptop, Cables To Go makes an adapter for a 2.5 inch drive [the one in the laptop] to your normal PC IDE cable. I just used this myself, and it was fine.
I really suggest answer #1. Put the drive in another computer and copy what you can.
by akstephr
Poster rated this answer.
by mm_it
by akstephr
Poster rated this answer.
by lmnogoldfish
The suggestions above will work, but it won't solve your issue with the documents fitting on floppies and laplink costs $
xcopy *.doc a: /s /c will just about do it, but if you have a dos boot disk around, you can use the dos version of 'backup', which is on every version of DOS after 2.x. Make a directory and copy all the dos files to it, then boot on the boot disk, change to c: and the directory. Then go:
BACKUP d:[path][filename] d:[/S][/M][/A][/F:(size)] [/P][/D:date] [/T:time] [/L:[path]filename]
The /A will span floppies, so you'd type in something like backup *.doc a:*.doc /S /A
the corollary is restore when you want to put them back ...
Type in restore /? and you'll see the ways to do it. If you leave things out, both commands will still work.
Like
restore a: c:
In backup, the /S means search for sub directories, and the /A includes span disks. When you restore, the command is smarter because it remembers what was stored in the backup.
If the Win 98 was an upgrade from Win 3.1x the commands might be on the disk somewhere or you can boot to a DOS floppy, just be ready to put the dos disk back in everytime is says: can't find command.com ...
A trick is to move to the command directory first if it still exists and then it won't have trouble finding the files.
by akstephr
Poster rated this answer.
by akstephr
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending