aboutsummaryrefslogtreecommitdiff
path: root/dev/packaging/tor/Windows/link.vbs
diff options
context:
space:
mode:
Diffstat (limited to 'dev/packaging/tor/Windows/link.vbs')
-rw-r--r--dev/packaging/tor/Windows/link.vbs9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev/packaging/tor/Windows/link.vbs b/dev/packaging/tor/Windows/link.vbs
new file mode 100644
index 0000000..2a65461
--- /dev/null
+++ b/dev/packaging/tor/Windows/link.vbs
@@ -0,0 +1,9 @@
+set fs = CreateObject("Scripting.FileSystemObject")
+set ws = WScript.CreateObject("WScript.Shell")
+set arg = Wscript.Arguments
+
+linkFile = arg(0)
+
+set link = ws.CreateShortcut(linkFile)
+ link.TargetPath = fs.BuildPath(ws.CurrentDirectory, arg(1))
+ link.Save
bgstack15