|
This topic comprises 2 pages: 1 2
|
Author
|
Topic: Editing Autoexec.bat file with MS-DOS
|
Paul G. Thompson
The Weenie Man
Posts: 4718
From: Mount Vernon WA USA
Registered: Nov 2000
|
posted 11-17-2002 12:05 PM
First, the Prelude...So far, I have lost some hair trying to get a MS-DOS 6.22 based computer to boot up and load a program automatically, and I have not been successful. I tried a bunch of command lines I thought would work, and on each boot-up attempt, the computer hurled an insult at me, or locked me out of the autoexec.bat file unless I edited through the DOS directory. The computer has no programs in it with the exception of DOS and the program I am trying to load at boot-up. The program I speak of is a DOS-based program, and it works perfectly when I load it manually. Immediately after MS-DOS 6.22 is installed (no memmaker initiated), the Autoexec.bat file looks like this: @ECHO OFF C:\DOS\SMARTDRIV.EXE /X PROMPT $p$g PATH C:\DOS SET TEMP: C:\DOS Secondly, the program I want to load on bootup is called SETUPVRC which is the name of the directory. In this directory, there is a bat and a cfg file called KBRC.bat and KBRC.cfg I want to insert a line in the Autoexec.bat file to load this program because this program is used to take transmitter parameter readings, log the file, and print it out on a printer. If there is a power outage, the computer will come back only on DOS prompt when the power is back on line and the program has to be initiated manually. Obviously, this is not satisfactory. Third: My question is, what is the command line I should insert in the Autoexec.bat file, and where should I insert it? The Operations manual for the software says it can be done, but there is no suggestion as to what or where the command line sequence is supposed to be. I contacted Gentner Electronics, and was told they signed over the software to another company. I called that company and they appear to have "Banker's Hours." I sent them an email, and I suspect I won't get a reply fast enough to suit my needs. Thanks for the suggestions, gentlemen. If you have a suggestion, please clue me in. Don't be concerned if your suggestion might fail. No matter how bad it lunches the program, I can get it running in less that 10 minutes. I have a spare computer to experiment with.
| IP: Logged
|
|
|
David Stambaugh
Film God
Posts: 4021
From: Eugene, Oregon
Registered: Jan 2002
|
posted 11-17-2002 12:21 PM
"locked me out of the autoexec.bat file unless I edited through the DOS directory". What exactly do you mean? Are you using the DOS "edit" utility to edit the autoexec.bat file? I can't imagine why it wouldn't work unless there is some piece of the edit utility missing. If I remember correctly, for edit to run you should have 6 related files in the DOS directory:edit.com edit.hlp edit.pif qbasic.exe qbasic.hlp qbasic.ini I would suggest modifying the PATH command to: PATH=C:\DOS;C:\SETUPVRC As for the command you want to insert at the end of the autoexec.bat file to run the application, it's probably c:\setupvrc\kbrc.bat Only you might have to use a "call" in the command line, like: call c:\setupvrc\kbrc.bat Or as Daryl suggested, change the default directory first, then run the batch file: cd c:\setupvrc kbrc.bat Hope this helps at least some.
| IP: Logged
|
|
|
Paul G. Thompson
The Weenie Man
Posts: 4718
From: Mount Vernon WA USA
Registered: Nov 2000
|
posted 11-17-2002 03:17 PM
Daryl, that was a typo on my part for the Smartdrv.exe OK, I'll try your suggestions when I get home to my experimental computer. Right now, I have a more serious problem. The RFPA's in the driver cabnet burned up the plate load choke. No parts to fix it. Just happens I have a vacuum tube 10KW Collins that was made in 1964, and the RFPA's in the driver cabnet happens to be a pair of 4-400's in parallel running at Class "C" Bias. If I get a chance, I'll post a picture of it (or what's left of it) later. I suspect a "bottle" shorted out and blew the choke before it could blow itself off line, or I lost the bias. As far as being "Locked out" of the MS-DOS editor, I had to log into the DOS directory and type "Edit c:\ autoexec.bat" in order to get back into it. I'll post the results on the autoexec.bat file as soon as I try it. Thanks, guys. Much appreciated.
| IP: Logged
|
|
|
|
|
|
|
|
|
|
|
Paul G. Thompson
The Weenie Man
Posts: 4718
From: Mount Vernon WA USA
Registered: Nov 2000
|
posted 11-19-2002 02:09 AM
Jack, indeed they are! They have a limited vocabulary, though.
Daryl, I didn't get a chance to try the modem string you recommended, as the other transmitter blew a capacitor. I was off the air for a couple of hours before I got one running again. I still have the Collins out of service. It blew a coil because of lost RFPA bias supply.
But, I'll give your recommendation a try tomorrow...I am sure it will work. I'll let you know via email how it turned out. Again, thatn you - your expertise so far has proved to be invaluable,as Brad knows with the update of FT, and from what I know of your astonishingly rapid replys that seem to work!
Now it is time to Jeeze, what a day! Had a sound system in one of our theatres, too. When it rains, it pours!!
| IP: Logged
|
|
|
All times are Central (GMT -6:00)
|
This topic comprises 2 pages: 1 2
|
Powered by Infopop Corporation
UBB.classicTM
6.3.1.2
The Film-Tech Forums are designed for various members related to the cinema industry to express their opinions, viewpoints and testimonials on various products, services and events based upon speculation, personal knowledge and factual information through use, therefore all views represented here allow no liability upon the publishers of this web site and the owners of said views assume no liability for any ill will resulting from these postings. The posts made here are for educational as well as entertainment purposes and as such anyone viewing this portion of the website must accept these views as statements of the author of that opinion
and agrees to release the authors from any and all liability.
|