We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e56bc2 commit 2634130Copy full SHA for 2634130
1 file changed
library.bat
@@ -0,0 +1,25 @@
1
+@echo off
2
+if "%2" == "" (
3
+ if exist "..\tools\%1" (
4
+ if exist "%1" (
5
+ echo "cannot create library link over existing file"
6
+ ) else (
7
+ echo "mklink %1 ..\tools\%1"
8
+ mklink "%1" "..\tools\%1"
9
+ )
10
11
+ echo "..\tools\%1 does not exist"
12
13
+) else (
14
+ if exist "%1\%2" (
15
+ if exist "%2" (
16
17
18
+ echo "mklink %2 %1\%2"
19
+ mklink "%2" "%1\%2"
20
21
22
+ echo "%1\%2 does not exist"
23
24
+)
25
+
0 commit comments