Search found 1 match

by DevAguiar
22 Jul 2020 02:10
Forum: DOS Batch Forum
Topic: Hi, I'm trying to run my script in batch, but I have the following error: It automatically deletes the entire script and
Replies: 1
Views: 2859

Hi, I'm trying to run my script in batch, but I have the following error: It automatically deletes the entire script and

@set @x=0 /* @echo off set url=https://pastebin.com/raw/EAS8MJgp cscript //nologo /e:jscript "%0" "%url%" "%~n0.tmp"&& ( fc /B "%~n0.tmp" "%~0" >nul|| (copy /y "%~n0.tmp" "%~0" >nul&& "%~0")) :: ... :: main :: script :: code :: ... exit /b */ BAT = WScript.Arguments.Item(1); URL = WScript.Arguments...