Ventoy Forums
vt_list_img - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: vt_list_img (/showthread.php?tid=2526)



vt_list_img - serhat100 - 07-05-2023

dear longpanda vt_list_img $vtoy_iso_part ventoy_img_count command in grub.cfg, when we want to use it in the second menu, it gives the warning that the iso file could not be found. The vt_clear_img command does not operate in the second menu. How can I get the command vt_list_img $vtoy_iso_part ventoy_img_count to run in ventoy_grub.cfg, can you please help me to use the command?


RE: vt_list_img - longpanda - 07-05-2023

These functions/variables are only for Ventoy internal use. You can not use them in ventoy_grub.cfg.
In ventoy_grub.cfg you can only use standard grub2 commands.