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 (<) to use for redirecting input.
That's all I'll tell about it.
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 98)
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
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
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