Update drop cia or folder here.bat

Basic error checking to exclude non-cia files.
This commit is contained in:
Remnence 2017-02-05 18:39:23 -06:00 committed by GitHub
parent cd14638920
commit aac35f0ec0

View File

@ -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