ESF fase four – updated 19/7/2015

ESF fase four
Yes, I have been busy,
testing with interactive batch files etc
But the idea of using predefined text files, looked very interesting to me,
and I thought, probably something that anyone experimenting with Enfuse could use.
So, here is fase four :

ESF_Fase_Four

See it in action :

The code ( without the menu ) :

set /p Choice=Enter: 1,2,3,.. or Q to Quit –
echo.
if [%Choice%]==[1] goto fusion_folder
if [%Choice%]==[2] goto my_settings
if [%Choice%]==[3] goto enfuse_help
if [%Choice%]==[q] goto end
if [%Choice%]==[Q] goto end
For %%a in (1,2,3,..9,q,Q) do if not [%Choice%]==[%%a] goto end

:fusion_folder
color 1F
echo.
set /p input=Set Input Fusion Folder :
echo.
set /p output=Set Output Fusion Folder :
echo.
set /p ext=Set File Extention :
pause
goto fusion_menu

:my_settings
color 1F
set /p my_settings=<my_settings.txt
echo.
echo Run My Settings Fusion
echo.
enfuse %my_settings% –output=%output%fusion.tif %input%*.%ext%
pause
goto fusion_menu

:enfuse_help
color 1F
echo Save and Open Enfuse Help
echo.
enfuse.exe –help >enfuse_help.txt
enfuse_help.txt
pause
goto fusion_menu

:end
exit

The part “my_settings” can be anything, it only need to point to the text file containing the Enfuse code :

set /p my_settings=<my_settings.txt

my_settings

Leave a Reply

Your email address will not be published. Required fields are marked *