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 09-07-2004, 12:25 AM   #1
Member (8 bit)
 
amigo's Avatar
 
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.
amigo is offline   Reply With Quote
Old 09-07-2004, 02:46 AM   #2
RJ
Member (14 bit)
 
Join Date: Feb 2000
Location: Offenbach/Main (Germany)
Posts: 8,485
Send a message via ICQ to RJ
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.
RJ is offline   Reply With Quote
Old 09-07-2004, 05:56 AM   #3
Member (10 bit)
 
Mesaeus's Avatar
 
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 ?
Mesaeus is offline   Reply With Quote
Old 09-07-2004, 06:48 AM   #4
Member (8 bit)
 
amigo's Avatar
 
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).
amigo is offline   Reply With Quote
Old 09-07-2004, 09:25 AM   #5
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
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.
glc is online now   Reply With Quote
Old 09-08-2004, 03:32 AM   #6
Member (8 bit)
 
amigo's Avatar
 
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.
amigo is offline   Reply With Quote
Old 09-08-2004, 05:17 AM   #7
RJ
Member (14 bit)
 
Join Date: Feb 2000
Location: Offenbach/Main (Germany)
Posts: 8,485
Send a message via ICQ to RJ
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
RJ is offline   Reply With Quote
Old 09-08-2004, 06:16 AM   #8
Member (8 bit)
 
amigo's Avatar
 
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.
amigo 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 05:35 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2