Ventoy Forums

Full Version: versão do ventoy via comando
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need to know how I can receive the version that is installed on the pendrive via Windows command, so that if the version is out of date I can run the command Ventoy2Disk.exe VTOYCLI /U /Y /DriveBig Grin:

What command to receive the return of the version installed on the drive?

VTOYCL
Code:
for /f "tokens=2 delims==" %%D in ('%WINDIR%\system32\find.exe %PTN2%\grub\grub.cfg "VENTOY_VERSION="') do set VER=%%D

where PTN2 is the drive letter of the 2nd partition