From 54572a02e15b4a89cdda2a2007192fb464c364ed Mon Sep 17 00:00:00 2001 From: Steveice10 Date: Wed, 22 Feb 2017 22:35:33 -0800 Subject: [PATCH] Fix servefiles batch script when in directory with spaces. --- servefiles/drop cias or folder here.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servefiles/drop cias or folder here.bat b/servefiles/drop cias or folder here.bat index e727bf2..19f1cc0 100644 --- a/servefiles/drop cias or folder here.bat +++ b/servefiles/drop cias or folder here.bat @@ -2,10 +2,10 @@ set /p DSIP="Enter the IP of your 3DS: " for %%a in (%*) do ( if "%%~xa"==".cia" ( - python %~dp0servefiles.py %DSIP% "%%~a" + python "%~dp0servefiles.py" %DSIP% "%%~a" ) if "%%~xa"=="" ( - python %~dp0servefiles.py %DSIP% "%%~a" + python "%~dp0servefiles.py" %DSIP% "%%~a" ) ) pause