
grub4dos-chenall - issue #125
Cannot run a batch file from menu.lst if path length is more than 32 characters
What steps will reproduce the problem? 1. In a menu.lst file
/boot_files/grub/autolinuxme.bat
/boot_files/grub/autolinuxmen.bat
/boot_files/grub/autolinuxmenu.bat
title test call /boot_files/grub/autolinuxme.bat fred doris call /boot_files/grub/autolinuxmen.bat fred doris call /boot_files/grub/autolinuxmenu.bat fred doris /boot_files/grub/autolinuxme.bat fred doris /boot_files/grub/autolinuxmen.bat fred doris /boot_files/grub/autolinuxmenu.bat fred doris root ()
2. in each .bat file, add !BAT echo %0 pause
What is the expected output? What do you see instead? first 4 lines runs OK next two lines do not >> 'no such command'
Is there a path length limitation of 32 characters?
If use e to edit the menu, the paths are wrong and fred and doris are missing - e.g.
/boot_files/grub/autolinuxme.bat
/boot_files/grub/autolinuxmen.ba
/boot_files/grub/autolinuxmenu.b
What version of the product are you using? On what operating system? March 03 045c
Please provide any additional information below.
Comment #1
Posted on Mar 28, 2013 by Happy HippoComment deleted
Comment #2
Posted on Mar 28, 2013 by Happy Hippoin stage2.c if (!(info & 4) && ((c & 0x80) || pos > 31)) /* bit 2 for argument */
Thanks! try this
- grub4dos-0.4.5c-2013-03-28.7z 257.26KB
Comment #3
Posted on Mar 28, 2013 by Happy KangarooThis works too! Can this and ;; be combined into one version please? Thanks Steve
Comment #4
Posted on Mar 28, 2013 by Happy Hippothis is the newest,with both issue 125 and 126's patch
Status: Done
Labels:
Type-Defect
Priority-Medium