Elite Fitness Bodybuilding, Anabolics, Diet, Life Extension, Wellness, Supplements, and Training Boards
Chat & Conversation Batch Files..MS dos
|
Author | Topic: Batch Files..MS dos | ||
Pro Bodybuilder Posts: 378 |
can someone help me with this: James is responsible for a computer used by several people at his work. He is concerned that these people who are computer illiterate might accidentally format the hard drive. Write the batch file for him ,saving it as Format.bat. It should accept a command line parameter, either A; or B:. If correct parameter is entered the batch file should call frmt.com amd commence formatting the floppy disk. If an incorrect command line parameter is entered or the parameter is missing then an appropriate error message should be displyed, advising the user about missing parameters and invalid drives. ok.....??? | ||
Moderator Posts: 2397 |
damn this is going way back! i have a book that explains this somewhere.. i don't remember. | ||
Pro Bodybuilder Posts: 378 |
how can i modify the answer to this question to apply to the previous, i found this one in aa study guide>>> Write a batch file called FMT.BAT that will perform an unconditional disk format to the density of the drive by reading the drive as a replaceable parameter. Include a check routine that wil prevent formatting anything but drive A: or B:, and produce appropriate screen prompts. Dont forget a prompt for missing parameters. Heres the answer: is this any help? |
All times are ET (US) | |
Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c