PDA

View Full Version : Re: How to create a bootdisk to access the CD-RW?


David H. Lipman
February 14th 05, 07:33 PM
There aren't really CDRW drivers for DOS. If you need to read from the CDRW drive use
standard CD Device Driver such the Oak CDROM Driver that comes with the Win98 Emergency Book
Disk.

--
Dave




"Joe" > wrote in message ...
| Hi,
|
| I am seeking to copy a 500MB backup image onto a CD-R to free up
| space. How to create a bootup disk that will access E: and copy the
| data back onto the HDD is the problem.
|
| The pc came preloaded with Powerquest Drive Image Special Edition.
| The Drive Image will do a 'factory restore', i.e., pre-installed with
| Corel WordPerfect 8, an outdated McAfee AV, Web ferret and several
| other unwanted programs. No choice in the matter. That's the
| incentive to buy the full PQ Drive Image program (which would be
| fine). The HDD is an 8.07GB Maxtor, and probably it would be better
| to save for a larger drive instead.
|
| After using the 'restore back to factory state' option, there are alot
| of steps to un-install un-needed programs, delete .reg entries, fonts
| etc., to get to a near basic Windows installation.
|
| It would be nice to transfer the 500MB 'Bkpimg' on drive D: onto a
| CD-R disc. The HDD, is partitioned as, C: = 6.08GB, and D: = 1.99GB.
|
| Any help in creating a bootdisk with the correct CD-RW drivers, is
| appreciated. Thanks!
|
| Joe

Jeff Richards
February 14th 05, 10:40 PM
What do you mean 'does not work'? Try

D:
CD \
MD Options
F:
Copy F:\Options\*.* D:\Options
--
Jeff Richards
MS MVP (Windows - Shell/User)
"Joe" > wrote in message
...
> On Mon, 14 Feb 2005 14:33:23 -0500, "David H. Lipman"
> > wrote:
>
>>There aren't really CDRW drivers for DOS. If you need to read from the
>>CDRW drive use
>>standard CD Device Driver such the Oak CDROM Driver that comes with the
>>Win98 Emergency Book
>>Disk.
>
> Hi David,
>
> The Win98 Emergency Bootdisk installs the Oak CDROM Driver. Then,
> Microsoft RAMDrive 3.06 for Virtual disk E.
>
> Then:
>
> The diagnostc tools were sucessfully loaded to drive E.
> MSCDEX Version 2.25
> Drive F: = Driver MSC001 unit 0
>
> A;\
> __
>
> What I did not notice is to use F:\ designation to access and read
> The contents on the CDROM disc.
>
> I am having trouble getting the copy command to work.
> Content of the CD:
>
> Bkpimg
> Options
>
> Both are recognized as directories in DOS.
>
> F:\> copy Options D:\
>
> F:\> copy F:\Options D:\
>
> The above doesn't work. Can you shed some light on what is incorrect?
> Should \*.* be added at the end?
>
> Thanks again, David, for your help.
>
> Joe
>
>
>
>

glee
February 14th 05, 11:20 PM
"Joe" > wrote in message
...
> On Mon, 14 Feb 2005 14:33:23 -0500, "David H. Lipman"
> > wrote:
>
> >There aren't really CDRW drivers for DOS. If you need to read from the CDRW
drive use
> >standard CD Device Driver such the Oak CDROM Driver that comes with the Win98
Emergency Book
> >Disk.
>
> Hi David,
>
> The Win98 Emergency Bootdisk installs the Oak CDROM Driver. Then,
> Microsoft RAMDrive 3.06 for Virtual disk E.
>
> Then:
>
> The diagnostc tools were sucessfully loaded to drive E.
> MSCDEX Version 2.25
> Drive F: = Driver MSC001 unit 0
>
> A;\
> __
>
> What I did not notice is to use F:\ designation to access and read
> The contents on the CDROM disc.
>
> I am having trouble getting the copy command to work.
> Content of the CD:
>
> Bkpimg
> Options
>
> Both are recognized as directories in DOS.
>
> F:\> copy Options D:\
>
> F:\> copy F:\Options D:\
>
> The above doesn't work. Can you shed some light on what is incorrect?
> Should \*.* be added at the end?

As you stated yourself above, they are Directories. You cannot use the Copy command
to copy Directories, only files. If you want to copy directories, you must use
XCOPY.

It is probably easier to simply manually create the Directories you want on the D:
drive, and then copy the files over to them.

Switch to the D: drive and then make the empty directory:

D:
MD OPTIONS

Then copy the files in the F:\Options folder, to the D:\Options folder:

COPY F:\Options\*.* D:\Options
--
Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/goodpost.htm

glee
February 15th 05, 04:52 AM
"Joe" > wrote in message
...
> On Mon, 14 Feb 2005 18:20:11 -0500, "glee" >
> wrote:
>
> >"Joe" > wrote in message
> ...
> >> On Mon, 14 Feb 2005 14:33:23 -0500, "David H. Lipman"
> >> > wrote:
> >>
> >> >There aren't really CDRW drivers for DOS. If you need to read from the CDRW
> >drive use
> >> >standard CD Device Driver such the Oak CDROM Driver that comes with the Win98
> >Emergency Book
> >> >Disk.
> >>
> >> Hi David,
> >>
> >> The Win98 Emergency Bootdisk installs the Oak CDROM Driver. Then,
> >> Microsoft RAMDrive 3.06 for Virtual disk E.
> >>
> >> Then:
> >>
> >> The diagnostc tools were sucessfully loaded to drive E.
> >> MSCDEX Version 2.25
> >> Drive F: = Driver MSC001 unit 0
> >>
> >> A;\
> >> __
> >>
> >> What I did not notice is to use F:\ designation to access and read
> >> The contents on the CDROM disc.
> >>
> >> I am having trouble getting the copy command to work.
> >> Content of the CD:
> >>
> >> Bkpimg
> >> Options
> >>
> >> Both are recognized as directories in DOS.
> >>
> >> F:\> copy Options D:\
> >>
> >> F:\> copy F:\Options D:\
> >>
> >> The above doesn't work. Can you shed some light on what is incorrect?
> >> Should \*.* be added at the end?
> >
> >As you stated yourself above, they are Directories. You cannot use the Copy
command
> >to copy Directories, only files. If you want to copy directories, you must use
> >XCOPY.
>
> Yes, I see what you mean. I've not used XCOPY before and will need to
> study the Quick Reference Guide 'MS-DOS Versions 6 - 6.22' by Karl
> Schwartz.
>
> >
> >It is probably easier to simply manually create the Directories you want on the
D:
> >drive, and then copy the files over to them.
> >
> >Switch to the D: drive and then make the empty directory:
> >
> >D:
> >MD OPTIONS
> >
> >Then copy the files in the F:\Options folder, to the D:\Options folder:
> >
> >COPY F:\Options\*.* D:\Options
>
> Thank you, Glee, for these instructions and help!
>

There is XCOPY and XCOPY32...there are more commands available in XCOPY32, but you
must be in a DOS box within Windows to use it. In a pure DOS boot, you can only use
the commands specific to the 16-bit XCOPY. IIRC, you need to add *both* files on
the boot diskette, even though you will only be using XCOPY there.

In pure DOS, the XCOPY supported commands are:

XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/W]

source Specifies the file(s) to copy.
destination Specifies the location and/or name of new files.
/A Copies files with the archive attribute set,
doesn't change the attribute.
/M Copies files with the archive attribute set,
turns off the archive attribute.
/D:date Copies files changed on or after the specified date.
If no date is given, copies only those files whose
source time is newer than the destination time.
/P Prompts you before creating each destination file.
/S Copies directories and subdirectories except empty ones.
/E Copies directories and subdirectories, including empty ones.
Same as /S /E.
/W Prompts you to press a key before copying.
/Y Overwrites existing files without prompting.
/-Y Prompts you before overwriting existing files.

You would likely only need source, destination, and the /E switch.

Default value for destination:
If you omit destination, the XCOPY command copies the files to the current
directory.

Specifying whether destination is a file or directory:
If destination does not contain an existing directory and does not end with
a backslash (\), XCOPY prompts you with a message in the following format:

Does destination specify a file name
or directory name on the target
(F = file, D = directory)?

Press F if you want the file(s) to be copied to a file. Press D if you want
the file(s) to be copied to a directory.

The following example copies all the files and subdirectories (including any empty
subdirectories) from the disk in drive A to the disk in drive B:

xcopy a: b: /s /e

(from the old DOS 6.22 Help file)
--
Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/goodpost.htm

Jeff Richards
February 15th 05, 06:05 AM
XCOPY is the way to go - it will deal with all those issues, and more.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"Joe" > wrote in message
...
> snip <
> The above made me experiment without success until I realized that the
> Options folder contains nested folders and CAB files. Haven't
> figured how to copy this folder yet.
>
> However, trying to copy the PowerQuest bkpimg folder result was the
> same until it occurred to my thick head that inside the bkpimg folder
> was, FACTORY.PQI. A hidden and read-only file. Using the ATTRIB
> command with -h, -r and /s switches, the file to was copied to
> CD, then restored back onto the HDD into an empty bkpimg folder.
>
> Myself, being a novice, it takes some working out to make progress.
>
> Thanks for the help above, Jeff. It helped me re-think commands and
> procedures more thoroughly. Thanks!
>
> Joe