Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Help msdos 6.2 and fdisk (i'm a new student to Networking)

Aug 19, 2007 9:30AM PDT

Hello buyer brown here looking for help
As a reminder I am a student in my first class of Networking
So I don?t want anyone to do my work, but what I am looking for is a push in the right direction I need help in keeping my thinking straight

Here?s my problem:
I need to make an automated floppy disk that will partition and format a clean hard drive with no human help besides placing the disk into the floppy drive. Adding cd support is optional.
Must all be done in MS-DOS 6.2 (don?t have WIN 9Cool

What I have:
? I have one pc running MS_DOS 6.2 inside of a VMWARE workstation on a XP pro host
? I have another pc with one clean hard drive in it.

What I?m thinking:
This is what I think the answer maybe
Start up MS-DOS 6.2 place an empty floppy in drive (A) and then:

1. Run format A: /s so I will have
IO.sys
MSDOS.sys
Command.com
On the floppy

2. Copy need files to floppy using XCOPY
Xcopy C:\dos\fdisk.exe A:
Xcopy C:\dos\format.com A:
Xcopy C:\config.sys A:

3. Create autoexec.bat
Edit autoexec.bat

Now at this point I don?t have any idea what to do.
I don?t know if the above is even right or not.
I know that I need a batch file to run and I know I need too place the steps of how to run fdisk in that batch file and some how do the same for format.
How would I start writing commands to make this happen automatically?
And if I?m all wrong could you please just straight me out and show me the road to walk down thank you

Discussion is locked

- Collapse -
Re: help fdisk
Aug 20, 2007 7:18PM PDT

Let me remark I find this a somewhat old-fashioned assignment for a 2007 network class. But that's not the issue here.

Strictly speaking, what you ask can't be done, because diskettes (unlike CD's) have no autorun. Putting a diskette in an operational system doesn't have any effect. The right way to state the problem is "putting the disk in the floppy drive AND BOOTING FROM IT."

You're certainly on the right track. Although you don't need a config.sys for this on the diskette.

You DO need an autoexec.bat as you state. A batchfile contains just the commands you would enter at the command prompt. You can make it with any text editor. Notepad is nice for this. To test, simply make an autoexec.bat file with the date command. It will show the date on the screen.

There are a few caveats, because you can't enter info in a dialogue. So you need to tell everything the command needs in its parameters. Use /? to find out what they are or read the DOS-manual or any DOS tutorial on Internet.
If you can't tell all at the command line redirect its input so that it reads it from a text file. That's the less-than sign (&ltWink to use for redirecting input.

That's all I'll tell about it.

Good luck.


Kees

- Collapse -
thank you
Aug 21, 2007 1:13AM PDT

thank you for your time and your help i will put it to good use