OSDN Git Service

0f61f7584ec8dd46fd866c3ba22f70c0cb23b4f5
[fast-forth/master.git] / config / SendSourceFileToTarget.bat
1 ::SendSourceFileToTarget.bat
2 ::used as link in any folder to drag and drop file.f or file.4th on it.
3
4 @ECHO OFF
5
6 IF  /I "%~x1" == ".f" goto sendF
7
8 :send4th
9
10 start  %~d1\config\SendSource.bat %1  ECHO
11 ::PAUSE > NUL
12 exit
13
14
15 :sendF
16
17 call  %~d1\config\Select.bat SelectTemplate
18
19 start  %~d1\config\SendSource.bat %1 %~dp1..\inc\%template% ECHO
20
21 ::PAUSE > NUL
22 exit
23 :: %1 is file.f to be send