Put fix for D: drive (etc) use into maple_upload.bat, that had previously only been added to serial_upload.bat

This commit is contained in:
Roger Clark 2014-12-04 07:07:23 +11:00
parent 794a79a151
commit 79668ed667
1 changed files with 5 additions and 7 deletions

View File

@ -1,10 +1,8 @@
@echo off @echo off
rem rem: Note %~dp0 get path of this batch file
rem rem: Need to change drive if My Documents is on a drive other than C:
rem set driverLetter=%~dp0
rem parameters are: set driverLetter=%driverLetter:~0,2%
%driverLetter%
rem Note: %~dp0 get path of this batch file, so path parameter is no longer required
cd %~dp0 cd %~dp0
java -jar maple_loader.jar %1 %2 %3 %4 %5 %6 %7 %8 %9 java -jar maple_loader.jar %1 %2 %3 %4 %5 %6 %7 %8 %9