From 6973bb459c219a7e7cca385d67a5ace31417183f Mon Sep 17 00:00:00 2001 From: earthlng Date: Mon, 18 Dec 2017 16:33:21 +0100 Subject: [PATCH] FIND instead of MORE to keep TABS intact --- updater.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater.bat b/updater.bat index af116d2..54ee373 100644 --- a/updater.bat +++ b/updater.bat @@ -43,7 +43,7 @@ IF DEFINED _updateb ( powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/ghacksuserjs/ghacks-user.js/raw/master/updater.bat', '[updated]!_myname!.new')" ) >nul 2>&1 IF EXIST "[updated]!_myname!.new" ( - TYPE "[updated]!_myname!.new" | MORE /E /P /T4 > "[updated]!_myname!.bat" + TYPE "[updated]!_myname!.new" | FIND /V "" > "[updated]!_myname!.bat" DEL /F "[updated]!_myname!.new" >nul START /min CMD /C "[updated]!_myname!.bat" !_myparams! EXIT /B