Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

Is it possible to Execute a .Bat File and make the CMD prompt NOT visible?

Is it possible to Execute a .Bat File and make the CMD prompt NOT visible?
Yes sure. You can do this many ways. What's this for?
I want execute a "Clear Browser History" for my clients. Having the cmd prompt not show will look and act more professional.

Could you explain how Mr. Robot!

Thank you mate!
Please copy and paste below codes to notepad and save it as SilentMode.vbs.


Code
Set WshShell = CreateObject("WScript.Shell")

cmds=WshShell.RUN("BatchScriptHere", 0, True)


Set WshShell = Nothing

Replace BatchScriptHere with your batch script name and folder path to your batch script.

For example i have a batch script named RegBackup.bat which is store in C:\Registry_Backups\Scripts folder path.

Code
Set WshShell = CreateObject("WScript.Shell")

cmds=WshShell.RUN("C:\Registry_Backups\Scripts\RegBackup.bat", 0, True)


Set WshShell = Nothing


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Shell] by Robert RougeSep 24, 2026 10:03 AM 1 296 Sep 24, 2026 10:03 AM
Last Post: Anonynuk
[C#] by Transporter007May 26, 2023 06:22 PM 22 665 May 26, 2023 06:22 PM
Last Post: Smoky
[Shell] by A13xSep 13, 2022 12:18 PM 2 258 Sep 13, 2022 12:18 PM
Last Post: ZribeDev