xrile / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

Improvement: conditional title skip command #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. If an ISO or IMG etc file does not exist, it would be nice to suppress the 
whole menu entry for that ISO/IMG

e.g. if xx.iso does not exist do not list the entry in the menu.

if not exist /xx.iso skipentry
title boot using xx.iso
ffff (valid commands)
ffff
ffff

title boot to DOS
aaaaa
aaaaa
aaaaa

2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

This means you could have a large menu.lst containing many entires but just add 
the OS source files that you want and only valid menu options listed instead of 
all of them.

Original issue reported on code.google.com by Steve6375 on 11 Nov 2011 at 10:38

GoogleCodeExporter commented 8 years ago
It's a good idea.
can you please make a patch for it?

I've not idea for it.

Original comment by chenall.cn on 18 Nov 2011 at 9:06

GoogleCodeExporter commented 8 years ago
I have found a way to do this using the current version by self-modifying the 
menu.lst - see http://www.rmprepusb.com/tutorials/57---automatic-grub4dos-menu
So this can be closed.

Original comment by Steve6375 on 23 Nov 2011 at 6:50

GoogleCodeExporter commented 8 years ago

Original comment by chenall.cn on 25 Nov 2011 at 9:00