TheTechGuide Forum

General Category => Software => Topic started by: Space Between on November 20, 2002, 12:33:19 PM

Title: Probably a dumb ? but...win98setup & autorun.bat
Post by: Space Between on November 20, 2002, 12:33:19 PM
Ok i don\'t know how to do it. I cant find jack zhit on it either for win98. I thought it only had to be in the root of the cd...however right after it load\'s and finds the cd it get\'s to the part where it is supposed to autorun...but says \"bad command or file name\".

I got a menu inside the autorun.bat i would like to popup right before the ghost start\'s...however i have tried it by just adding the menu in with the autoexec.bat and i get \"program to big to fit in memory\" crap.  so i have to use it...or something alike.

Is there a way to drop a .bat after a call?? like insides a.bat i would like to call b.bat...then have, somehow a.bat close. Im not too sure if that is possible. But i guess there has to be a way to kill the a.bat.

Very frustrating.

something i didnt know..and dont quite understand also is that if i call a .bat file that has

TYPE what is going on

inside it...it gives me the \"Too many parameters\" error.  That does and doesnt make sense. I can see how it does make sense...but on the other hand i feel that it is more in the \"doesnt make sense\" category because it\'s the damn TYPE command.

Anyhow anybody know how the i can make the autorun.bat pull up a my menu/menu\'s???  This autorun.bat is limited to having like a setup.exe in it is it??

At the end...after it finds the drive letter. I have the below that was already in the autoEXEC.bat that looks like it should work.

if errorlevel 1 goto _end
if not exist %cddrv%:autorun.bat goto _en
%cddrv%:
cd
autorun.bat

Now that to me looks like it should work.

ive tried it with only ECHO HI in my autorun.bat and it still says bad command or filename.
Title: Probably a dumb ? but...win98setup & autorun.bat
Post by: Space Between on November 21, 2002, 06:00:14 AM
Im sorry just delete this or something. I never to the autorun.bat to work but i just called the menu out of autoexec.bat and it works fine