grub4dos
grub4dos copied to clipboard
grub4dos-0.4.6a-2021-10-13.7z - error running batch files
grub4dos-0.4.6a-2021-10-13.7z With this grldr I get error running a batch file previous versions worked OK
May be caused by removing spaces fix ?
P.S. Please can you include \ext folder with utilities in all future zip files too?
echo 3
cat %sortlist% | call :copyfiles
echo 4
problem traced to this line in batch file which works OK with previous versions
Note that end of line MUST have a space to work cat %sortlist% | call :copyfiles [SPACE]
I don't think you should remove space from end of command lines I only asked for you to remove space from filename when passed to animation code - i.e. change animation code only
How to repeat the question
see #338
!BAT
echo -v
echo -n FRED
echo FRED
Cannot remove spaces from command line
cat %sortlist% | call :copyfiles [SPACE] What does'|' mean?
it is pipe symbol https://github.com/chenall/grub4dos/blob/0.4.6a/README_GRUB4DOS.txt
example on same page
使用2021-08-13版本的grldr测试,同样的问题。我感觉是 cat %sortlist% | call :copyfiles 这句脚本有问题。
!BAT set sortlist=/test.g4b cat %sortlist% | call :copyfiles goto :end
:copyfiles echo 5678
:end
The code works OK BUT you must add a space
See also the echo code above which has spaces at end of line
!BAT
echo -v
echo -n FRED
echo FRED
You must change back the code Do NOT remove spaces from end of lines