Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-05-2004, 11:32 AM   #1
Member (9 bit)
 
Join Date: Jun 1999
Location: CLEVELAND
Posts: 480
Creating an AUTOEXEC file

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
MARKBLACK is offline   Reply With Quote
Old 03-05-2004, 05:14 PM   #2
Ride 'em Cowboy
 
EzyStvy's Avatar
 
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,109
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..
EzyStvy is offline   Reply With Quote
Old 03-08-2004, 01:42 PM   #3
Member (9 bit)
 
Join Date: Jun 1999
Location: CLEVELAND
Posts: 480
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
MARKBLACK 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 04:22 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2