Author Topic: Various emulator settings  (Read 13546 times)

zlagos

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Various emulator settings
« Reply #45 on: September 09, 2017, 03:35:46 AM »
DOSBOX

Sorry this code is wrong.  :-[

Code: [Select]
@echo off
SET linkspath=C:\attract\EMU\dosbox\links\
SET dosboxpath=C:\attract\EMU\dosbox\DOSBox.exe

for %%a in (%1) do (
set filepath=%%~dpa
)

cd %filepath%
for %%* in (.) do (
set currentfolder=%%~nx*
echo %%~nx*
)

echo "%dosboxpath%" > %linkspath%%currentfolder%.bat %1 -exit -fullscreen

The correct would be:  :-[ :-[ :-[

Code: [Select]
@echo off
SET linkspath=C:\attract\EMU\dosbox\links\
SET dosboxpath=C:\attract\EMU\dosbox\DOSBox.exe

for %%a in (%1) do (
set filepath=%%~dpa
)

cd %filepath%
for %%* in (.) do (
set currentfolder=%%~nx*
echo %%~nx*
)

cd %linkspath%

echo "%dosboxpath%" > %currentfolder%.bat %1 -exit -fullscreen


Thank you very much for the post  :)
« Last Edit: September 09, 2017, 10:11:05 AM by zlagos »