the objective is to put this batch file in a USB drive in order to run the new bios for PC.
Some models use the same bios file.
This code works, but if i put the "PSAT1" goes to bios1.exe, and PXLL1 goes to the same file, when should go to bios2.exe.What can i do to put this to work?
There will bem more than 100 different models so i need a way to put it to work in
Need help please,
i am a novice in this bath things..
You need to put in some gotos to actually tell the interpreter to go to the appropriate place in the file.
set /p pa=PA Number:
The "goto :EOF" lines tell the interpreter to jump to the end of the file - otherwise it would keep going with the next section, running the PXLL1 update after it finishes the PSAT1 or PSAT2 update. (I assume PSAT1 and PSAT2 are intended to have the same BIOS.)
Hope this helps. Get in touch if you need more info.
[Edit: the preview had unwanted line numbers so I advised ignoring them when typing the code - the final post didn't have them]