BAT file to run Euphoric on any current operating system!
Posted: Thu Jul 11, 2013 7:15 am
BAT file to run Euphoric on any current platform or an operating system:
This is my BAT file that enables me to run my Euphoric (under DosBox) with a single mouse (double) click, executed from my USB memory drive on almost any host operating system or a computer...
(For Win98 is not required, as Euphoric does not need any kind of add-in on this OS)
Of course, this BAT file itself is NOT enough, you also need the DosBox (located on the USB memory drive, but it DOES NOT HAVE TO BE INSTALLED on the host's operating system), and also you need some other files (also on the USB memory drive) like the Notifu.exe, but is quite cool (I think) so I decided to share it with you
Keep in mind that all what I need to do is just to plug-in my USB and to execute this bat file, it will do (and load) everything accordingly to the host's operating system and/or configuration - to load Euphoric... No need for "end-user" to perform any kind of pre-installation procedures of any kind
-------Beginig of the Bat File:---------
if exist c:\users goto win7
if exist "c:\Documents and Settings" goto winxp
goto end
rem ----------------------------------
rem -----------WinXP------------------
rem ----------------------------------
:winxp
md "%userprofile%\Local Settings\Application Data\DOSBox
if exist d:\iskra goto dwinxp
if exist e:\iskra goto ewinxp
if exist f:\iskra goto fwinxp
if exist g:\iskra goto gwinxp
if exist h:\iskra goto hwinxp
if exist i:\iskra goto iwinxp
goto end
:dwinxp
copy d:\DBIskra\DOSBox-0.74\dosbox-0.74d.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
d:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:ewinxp
copy e:\DBIskra\DOSBox-0.74\dosbox-0.74e.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
e:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:fwinxp
copy f:\DBIskra\DOSBox-0.74\dosbox-0.74f.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
f:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:gwinxp
copy g:\DBIskra\DOSBox-0.74\dosbox-0.74g.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
g:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:hwinxp
copy h:\DBIskra\DOSBox-0.74\dosbox-0.74h.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
h:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:iwinxp
copy i:\DBIskra\DOSBox-0.74\dosbox-0.74i.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
i:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
rem -----------Win7-------------------
rem ----------------------------------
:win7
md "%userprofile%\Local Settings\Application Data\DOSBox
if exist d:\iskra goto dwin7
if exist e:\iskra goto ewin7
if exist f:\iskra goto fwin7
if exist g:\iskra goto gwin7
if exist h:\iskra goto hwin7
if exist i:\iskra goto iwin7
goto end
:dwin7
copy d:\DBIskra\DOSBox-0.74\dosbox-0.74d.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
d:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:ewin7
copy e:\DBIskra\DOSBox-0.74\dosbox-0.74e.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
e:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:fwin7
copy f:\DBIskra\DOSBox-0.74\dosbox-0.74f.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
f:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:gwin7
copy g:\DBIskra\DOSBox-0.74\dosbox-0.74g.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
g:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:hwin7
copy h:\DBIskra\DOSBox-0.74\dosbox-0.74h.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
h:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:iwin7
copy i:\DBIskra\DOSBox-0.74\dosbox-0.74i.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
i:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
:end
notifu /p "BulmaSoft" /m "Iskrina sesija je zavrsena" /d 6000
echo Return value is %ERRORLEVEL%
-------End of the Bat File:---------
This is my BAT file that enables me to run my Euphoric (under DosBox) with a single mouse (double) click, executed from my USB memory drive on almost any host operating system or a computer...
(For Win98 is not required, as Euphoric does not need any kind of add-in on this OS)
Of course, this BAT file itself is NOT enough, you also need the DosBox (located on the USB memory drive, but it DOES NOT HAVE TO BE INSTALLED on the host's operating system), and also you need some other files (also on the USB memory drive) like the Notifu.exe, but is quite cool (I think) so I decided to share it with you
Keep in mind that all what I need to do is just to plug-in my USB and to execute this bat file, it will do (and load) everything accordingly to the host's operating system and/or configuration - to load Euphoric... No need for "end-user" to perform any kind of pre-installation procedures of any kind
-------Beginig of the Bat File:---------
if exist c:\users goto win7
if exist "c:\Documents and Settings" goto winxp
goto end
rem ----------------------------------
rem -----------WinXP------------------
rem ----------------------------------
:winxp
md "%userprofile%\Local Settings\Application Data\DOSBox
if exist d:\iskra goto dwinxp
if exist e:\iskra goto ewinxp
if exist f:\iskra goto fwinxp
if exist g:\iskra goto gwinxp
if exist h:\iskra goto hwinxp
if exist i:\iskra goto iwinxp
goto end
:dwinxp
copy d:\DBIskra\DOSBox-0.74\dosbox-0.74d.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
d:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:ewinxp
copy e:\DBIskra\DOSBox-0.74\dosbox-0.74e.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
e:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:fwinxp
copy f:\DBIskra\DOSBox-0.74\dosbox-0.74f.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
f:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:gwinxp
copy g:\DBIskra\DOSBox-0.74\dosbox-0.74g.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
g:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:hwinxp
copy h:\DBIskra\DOSBox-0.74\dosbox-0.74h.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
h:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:iwinxp
copy i:\DBIskra\DOSBox-0.74\dosbox-0.74i.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
i:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
rem -----------Win7-------------------
rem ----------------------------------
:win7
md "%userprofile%\Local Settings\Application Data\DOSBox
if exist d:\iskra goto dwin7
if exist e:\iskra goto ewin7
if exist f:\iskra goto fwin7
if exist g:\iskra goto gwin7
if exist h:\iskra goto hwin7
if exist i:\iskra goto iwin7
goto end
:dwin7
copy d:\DBIskra\DOSBox-0.74\dosbox-0.74d.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
d:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:ewin7
copy e:\DBIskra\DOSBox-0.74\dosbox-0.74e.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
e:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:fwin7
copy f:\DBIskra\DOSBox-0.74\dosbox-0.74f.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
f:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:gwin7
copy g:\DBIskra\DOSBox-0.74\dosbox-0.74g.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
g:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:hwin7
copy h:\DBIskra\DOSBox-0.74\dosbox-0.74h.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
h:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
rem ----------------------------------
:iwin7
copy i:\DBIskra\DOSBox-0.74\dosbox-0.74i.conf "%userprofile%\Local Settings\Application Data\DOSBox\dosbox-0.74.conf"
i:\DBIskra\DOSBox-0.74\DOSBox.exe
goto end
:end
notifu /p "BulmaSoft" /m "Iskrina sesija je zavrsena" /d 6000
echo Return value is %ERRORLEVEL%
-------End of the Bat File:---------