Windows XP or later Windows: How can I run a batch file in the background with no window displayed?

Here is a possible solution: From your first script, call your second script with the following line: wscript.exe invis.vbs run.bat %* Actually, you are calling a vbs script with: the [path]\name of your script all the other arguments needed by your script (%*) Then, invis.vbs will call your script with the Windows Script Host Run() … Read more

Base64 Encode String in VBScript

I was originally using some VBScript code from Antonin Foller: Base64 Encode VBS Function and Base64 Decode VBS Function. Searching Antonin’s site, I saw he had some code for quoted printable encoding, using the CDO.Message object, so I tried that. Finally, I ported the code mentioned in Mark’s answer to VBScript (also used some code … 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