diff --git a/servefiles/drop cia or folder here.bat b/servefiles/drop cia or folder here.bat index edd8d6e..e727bf2 100644 --- a/servefiles/drop cia or folder here.bat +++ b/servefiles/drop cia or folder here.bat @@ -1,6 +1,11 @@ @ECHO OFF set /p DSIP="Enter the IP of your 3DS: " -for %%a in (%*) do ( -python %~dp0servefiles.py %DSIP% "%%~a" +for %%a in (%*) do ( + if "%%~xa"==".cia" ( + python %~dp0servefiles.py %DSIP% "%%~a" + ) + if "%%~xa"=="" ( + python %~dp0servefiles.py %DSIP% "%%~a" + ) ) pause