Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-10-2002, 06:52 PM   #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.
medlang is offline   Reply With Quote
Old 05-10-2002, 06:54 PM   #2
Member (13 bit)
 
DrZaius's Avatar
 
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
Just put whatever lines you need in there. When you run INSTALL.BAT it will execute those commands. Hope that helps.
DrZaius is offline   Reply With Quote
Old 05-10-2002, 07:04 PM   #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.
medlang is offline   Reply With Quote
Old 07-23-2002, 08:11 AM   #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) :-)
Battery Powered is offline   Reply With Quote
Old 07-23-2002, 09:10 AM   #5
Member (10 bit)
 
Join Date: Apr 2001
Location: Michigan
Posts: 850
Send a message via ICQ to HackinCowboy
Yea the /y will automatically enter 'Y' for the prompt.
HackinCowboy is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:17 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2