OSDN Git Service

la der de der
[fast-forth/master.git] / config / CopySourceFileToTarget_SD_Card.bat
1 ::CopySourceFileToTarget_SD_Card.bat
2 ::used as link to place in any folder to drag and drop file.f or file.4th on it.
3
4 IF  /I "%~x1" == ".f" goto sendF
5
6 :send4th
7
8 start  %~dp0CopyTo_SD_Card.bat %1
9 @PAUSE > NUL
10 exit
11
12
13 :sendF
14
15 call  %~dp0Select.bat SelectTarget
16 @start  %~dp0CopyTo_SD_Card.bat %1 %~dp1..\inc\%target%
17 @PAUSE > NUL
18 exit
19
20 :: %~dp0 is the path of this file.bat
21 :: %1 is file.f or file.4th to be send