|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Jan 2003
Location: The Philippines
Posts: 187
|
help me create a DOS 6.22 autoexec.bat file
Hi All,
We have this old PC at work running MSDOS 6.22. The autoexec file was accidentally deleted. We have to manually enter the exe file to run the program. I am not familiar with batch file programming so please bear with me. The file is located in C:\LIS and I want LIS.EXE to load automatically. Thanks in advance. |
|
|
|
|
|
#2 |
|
Member (14 bit)
|
add the line
C:LIS\LIS.EXE to the end of the autoexec.bat file. The first part of the autoexec.bat depends on the PC configuration. RJ
__________________
All's right with the world when your PC is working right.
|
|
|
|
|
|
#3 |
|
Member (10 bit)
Join Date: Aug 2004
Location: Belgium
Posts: 873
|
There might have been other important lines in autoexec.bat, if you post the contents of CONFIG.SYS here, I'll check what you have to add. Also, do you need a mouse driver for that program ?
|
|
|
|
|
|
#4 |
|
Member (8 bit)
Join Date: Jan 2003
Location: The Philippines
Posts: 187
|
Mesaeus
I'm gonna check the config.sys when I get back to work tomorrow. No mouse for this machine, certainly mouse driver is not needed. And no CDROM drive too. I guess this machine was formatted and no batch file was created, or maybe it was deleted. (Sorry, I dunno the history of this machine). |
|
|
|
|
|
#5 |
|
Forum Administrator
Staff
Premium Member
Join Date: May 2000
Location: Joplin MO
Posts: 37,787
|
Are there any backup files? See if there's an autoexec.bak or something like that - you may be able to rename one of them to autoexec.bat.
|
|
|
|
|
|
#6 |
|
Member (8 bit)
Join Date: Jan 2003
Location: The Philippines
Posts: 187
|
I could not find a config.sys and an autoexec backup file but I have gotten the machine to work by trial and error. Here's what I did:
@echo off CD C:\LIS C:\LIS\LIS.EXE Thanks for your inputs. |
|
|
|
|
|
#7 |
|
Member (14 bit)
|
The CD C:\LIS is not necessary as you wrote down the complete path in C:\LIS\LIS.EXE.
So you can remove that CD line. RJ |
|
|
|
|
|
#8 |
|
Member (8 bit)
Join Date: Jan 2003
Location: The Philippines
Posts: 187
|
Thanks for the info RJ. I'm gonna edit it and do the same thing on other machines.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|