summaryrefslogtreecommitdiff
path: root/protocols/Tox/copydll.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/copydll.cmd')
-rw-r--r--protocols/Tox/copydll.cmd10
1 files changed, 6 insertions, 4 deletions
diff --git a/protocols/Tox/copydll.cmd b/protocols/Tox/copydll.cmd
index 4b1f0fb50c..dffde39b53 100644
--- a/protocols/Tox/copydll.cmd
+++ b/protocols/Tox/copydll.cmd
@@ -1,5 +1,7 @@
-echo off
-cd /d ~dp%0
-copy /y bin\%1\libtox.* "%2"
-tools\cv2pdb.exe "%2\libtox.dll"
+@echo off
+set p1=%1
+set p2=%2
+set p3="%~2\libtox.dll"
+copy /y bin\%p1%\libtox.dll %p2%
+tools\cv2pdb.exe %p3%
exit 0