westor

/xcopy command v1.0 by SReject

Jan 11th, 2016
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.30 KB | None | 0 0
  1. ;; $xcopy(path\of\folder, path\to\copy\to\)
  2. alias xcopy {
  3.   var %a = a $+ $ticks, %f = $noqt($1)
  4.  
  5.   if ($file(%f).shortfn) %f = $v1 $+ *
  6.   else return
  7.  
  8.   .comopen %a Wscript.Shell
  9.   if $comerr { return }
  10.  
  11.   .comclose %a $com(%a, run, 1, bstr,% $+ comspec% /c xcopy %f $2-, uint, 0, bool, true)
  12. }
Add Comment
Please, Sign In to add comment