This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param | |
( | |
[Parameter(Mandatory=$true)] | |
[String] | |
$DownloadLocation | |
) | |
cls | |
# The script has been tested on Powershell 3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function escape(t) | |
{ | |
var r=''; | |
for(var i=0;i<t.length;i++){ | |
var c=t.charCodeAt(i); | |
var t1=Math.floor(c/16); | |
var t2=c%16; | |
if (t1<10) t1+=48; | |
else t1+=55; | |
if (t2<10) t2+=48; |