Windows Script Host Error: Invalid character – Code:800A03F6 – Source: Microsoft JScript compilation error

Update: On Windows .js files are associated to Windows Scripting Host by default, so the script will not be run with Node. Open a file explorer and find a JavaScript file, open the JavaScript file’s properties and then “open with”, select the Node.js program file to open that kind of files. The error should stop … Read more

How can I download a file with batch file without using any external tools?

The answers.All scripts should be saved with .bat/.cmd extensions and can be used directly as batch scripts. Certutuil (for some reasons in the newest win10 builds this is recognized as trojan thread ): certutil.exe -urlcache -split -f “https://download.sysinternals.com/files/PSTools.zip” pstools.zip for easiness a macro can be used: set “download=certutil.exe -urlcache -split -f” %download% “https://download.sysinternals.com/files/PSTools.zip” pstools.zip CertUtil … Read more

How can I compress (/ zip ) and uncompress (/ unzip ) files and folders with batch file without using any external tools?

And here are the answer(s): 1. Using “pure” batch script to zip/unzip file. It’s possible thanks to Frank Westlake’s ZIP.CMD and UNZIP.CMD(needs admin permissions and requires FSUTIL and CERTUTIL) .For Win2003 and WinXP it will require 2003 Admin Tool Pack which will install CERTUTIL. Be careful as ZIP.CMD syntax is backward : ZIP.CMD destination.zip source.file … Read more