Credit Card Debt Consolidation | Personal Loan | Nissan Xterra Forum | Credit Cards | Web Advertising
Creating an AUTOEXEC file [Archive] - PCMech Forums

PDA

View Full Version : Creating an AUTOEXEC file


MARKBLACK
03-05-2004, 12:32 PM
Hi Ive been asked to
Create a AUTOEXEC file that:

a) Turns off the screen display of the file (character on the screen)
b) Sets the standard prompt with your name
c) The path of DOS
d) Keyboard set to English
e) Set a temporary folder on the A drive with a name of TEMP
f) Display on the screen that all files have been transferred
g) Delete all files with an extension of WMF

8. Save the file on the floppy disk as Autoexec.bat

its been years since I used DOS can someone enlighten me?

MB

EzyStvy
03-05-2004, 06:14 PM
A) Not sure what you're asking, but the command cls clears the screen

B) add this line: prompt [C:\MarkBlack]

C) To "display" the path and READ IT while you're booting you'd add a command: path /p (/p to pause the screen till you hit any key to continue

to "set" the path you'd add set path = C:\,C:\windows,C:\Windows\system,etc etc

D) beats me, english is the defualt in Cleveland isn't it :)

E) question doesn't look right. You can "specify" that temp files go to A drive with this command provided the folder is alread there: Set Temp = A:\TEMP

You could even make the folder during bootup ONE TIME. Next boot up will error out. md A:\TEMP

F) what files?

G) del *.wmf /s /y

8) Sounds like a trick question to me. But, copy C:\Autoexec.bat A: would work one time.


Hope I just didn't do your homework for you..

MARKBLACK
03-08-2004, 02:42 PM
A friend of mine decided to set this up for me - just because I said Ive done a bit of DOS before, I don't think its a trick question just a friend trying to make things hard for me, BTW I think it was about 1995 when I last touched DOS so I do apprecaite your help thanks again.
MB