Yes, works fine like you said.
Thans for the help!
Search found 25 matches
- 08 Apr 2013 03:06
- Forum: DOS Batch Forum
- Topic: Batch to run several files
- Replies: 16
- Views: 13630
- 08 Apr 2013 02:44
- Forum: DOS Batch Forum
- Topic: Batch to run several files
- Replies: 16
- Views: 13630
Re: Batch to run several files
Hello,
I tried your code, for test in the line PA, i put psat1, press enter but give the fowling error:
PA Number: psat1
Bad command or file name ":".
Press any key to continue
batch file does not contain label eof
I tried your code, for test in the line PA, i put psat1, press enter but give the fowling error:
PA Number: psat1
Bad command or file name ":".
Press any key to continue
batch file does not contain label eof
- 08 Apr 2013 01:40
- Forum: DOS Batch Forum
- Topic: Batch to run several files
- Replies: 16
- Views: 13630
Re: Batch to run several files
I can not use the option of two menus, because the all idea is to have several models with the respective bios update. In the end there is more than 100 different models so this is why im trying to do a batch file in order i put he the model i want and goes to the respective file to update the bios
- 07 Apr 2013 14:24
- Forum: DOS Batch Forum
- Topic: Batch to run several files
- Replies: 16
- Views: 13630
Re: Batch to run several files
im testing with a usb emulator but the error tha gives after put the model is syntax error
- 07 Apr 2013 13:57
- Forum: DOS Batch Forum
- Topic: Batch to run several files
- Replies: 16
- Views: 13630
Re: Batch to run several files
i put " because the smiles if i put here like this :pxll1 SAT1 SAT2 cd biostosh\psat2\bios.bat goto:eof here is the code: @echo off rem *** jump to model according to PA number *** set "pa= set /p "pa=PA Number: goto:%pa% goto:eof :PSAT1 :PSAT2 cd biostosh\psat2\bios.bat goto:eof :PXL...
- 07 Apr 2013 13:27
- Forum: DOS Batch Forum
- Topic: Batch to run several files
- Replies: 16
- Views: 13630
Re: Batch to run several files
ok, in PA number:" i put PSAT1 and press enter gives syntax error. The PSAT1 exist
:"PSAT1
:"PSAT2
cd biostosh\psat1\bios.bat
goto:eof
:"PSAT1
:"PSAT2
cd biostosh\psat1\bios.bat
goto:eof
- 07 Apr 2013 13:16
- Forum: DOS Batch Forum
- Topic: Batch to run several files
- Replies: 16
- Views: 13630
Re: Batch to run several files
try your code, gives syntax error...
- 07 Apr 2013 12:50
- Forum: DOS Batch Forum
- Topic: Batch to run several files
- Replies: 16
- Views: 13630
Batch to run several files
Hello i have this code: @echo off rem *** jump to model according to PA number *** set "pa"= set /p "pa"=PA Number: :PSAT1 :PSAT2 cd biostosh\bios1.exe :PXLL1 cd biostosh\bios2.exe the objective is to put in a USB drive in order to run the new bios for PC. Some models use the sam...
- 04 Apr 2013 04:06
- Forum: DOS Batch Forum
- Topic: Need to launch BIOS update files
- Replies: 29
- Views: 21191
Question to confirm choice
It is possible after put the model that we want, appear a question to confirm the choice and put yes or no to confirm?
- 27 Mar 2013 05:44
- Forum: DOS Batch Forum
- Topic: Need to launch BIOS update files
- Replies: 29
- Views: 21191
Re: Need to launch BIOS update files
without goto
- 27 Mar 2013 05:24
- Forum: DOS Batch Forum
- Topic: Need to launch BIOS update files
- Replies: 29
- Views: 21191
Re: Need to launch BIOS update files
Ok, works fine now made by this form!
Thakns all for the help.
Thakns all for the help.
- 27 Mar 2013 04:55
- Forum: DOS Batch Forum
- Topic: Need to launch BIOS update files
- Replies: 29
- Views: 21191
Re: Need to launch BIOS update files
try to do in other way...it is possible something like this, a batch file? @echo off rem *** jump to model according to PA number *** goto %cPAshort% LL2E SAT2 here create a folder were the file to update is and run it... When we put the correct string on the top he goes to correct folder and run it...
- 27 Mar 2013 04:43
- Forum: DOS Batch Forum
- Topic: Need to launch BIOS update files
- Replies: 29
- Views: 21191
Re: Need to launch BIOS update files
don´t konow why doesnt work... The line PA number appears correctly, i put the model(psat2) enter, then gives error:
Syntax error.
bad variable specification
bad comand or file name - "))"
Syntax error.
bad variable specification
bad comand or file name - "))"
- 27 Mar 2013 04:21
- Forum: DOS Batch Forum
- Topic: Need to launch BIOS update files
- Replies: 29
- Views: 21191
Re: Need to launch BIOS update files
copy this last line but give the same error: syntax error, bad variable..
- 27 Mar 2013 03:34
- Forum: DOS Batch Forum
- Topic: Need to launch BIOS update files
- Replies: 29
- Views: 21191
Re: Need to launch BIOS update files
ok, maybe the problem is from me, but this is your batch file( copy and paste just like you postes yesterday without any alteration) @echo off set "pa=" set /p "pa=PA Number: " if defined pa ( for /f "tokens=1,* delims=|" %%a in (file.txt) do ( if /i "%%a"==&q...