|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (7 bit)
Join Date: Nov 2000
Posts: 81
|
DOS commands
Hello .
i would like some help with DOS commands. I am trying to create a boot up floppy which would carry out simple commands with minimun input from the user. commands such as format or d:\setup to install program from a cd . Can this be done using DOS or will i have to create a BASIC program. Any help would be welcome. Mike. |
|
|
|
|
|
#2 |
|
Member (13 bit)
Join Date: Jul 2000
Location: Fullerton, CA
Posts: 7,030
|
Hi Mike,
This can easily be done with a batch (.BAT) file. Just create a new file, name it INSTALL.BAT or something similar, and just put the commands line-by-line. Code:
format c: /y d: setup |
|
|
|
|
|
#3 |
|
Member (7 bit)
Join Date: Nov 2000
Posts: 81
|
DR Zaius.
Thanks very much for your helpful reply. This is a great help to me. With thanks. Mike. |
|
|
|
|
|
#4 |
|
Member (9 bit)
Join Date: Jan 2002
Location: UK
Posts: 389
|
Sorry to jump in on this post but the format c: /y bit u mentioned,
would the /y stop the warning msg? i boy in my old I.T class thought he was leet by writing a batch file format c: but it didnt work so well as it asked the user if they were sure they wanted to format just wondering (and dont really want to try it) :-) |
|
|
|
|
|
#5 |
|
Member (10 bit)
|
Yea the /y will automatically enter 'Y' for the prompt.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|