I have written a few new batch files which can be called by grub4dos - see here.
FindFullFileName.g4b - finds the first file matching a full filename
FindFileName.g4b - finds the first file matching a filename (without extension)
FindFileExt.g4b - finds the first file matching a file extension
FindFileName.g4b - finds the first file matching a filename (without extension)
FindFileExt.g4b - finds the first file matching a file extension
title FindFileExt on mapped HDD Image map (bd)/harddisk.img (hd2) map --hook root (hd2,0) # look for a file with a .com extension - param1=start folder param2=extension (bd)/grub/FindFileExt.g4b / .com if not "%FILEPATH%"=="" echo FILE FOUND AT %FILEPATH%! if "%FILEPATH%"=="" echo No file with matching extension found! pause root (more commands here)Please download FindFile.zip to obtain these batch files.
No comments:
Post a Comment