Hide a running app or bat

Asked

Viewed 4,905 times

0

I want to call an app through the bat and hide from the tray wrote the script

@echo off/hid
star/min 'NOME DO APLICATIVO'
exit

saved as start.bat>>> but when I run it starts the app hides the cmd minimizes the app no longer hidden from the tray ... already tried to change start/min for start/hid more appears invalid... how do I do this ?

2 answers

2

The only solution I know is using VBS.

Open the notepad and put the following code:

Dim wshShell
Set wshShell = CreateObject("WScript.Shell")
wshShell.Run "seusscript.bat", 0, false

In place of seusscript.bat place the path of your BATCH SCRIPT, then save with the name you want but with the extension vbs:

start.vbs

You should have an icon like this:

Icon VBS

Just double-click on the task manager (Ctrl+Alt+Del) to see that the Script is actually running.

1

Use the command below:

start "" "CAMINHO\Aplication.exe"

Follows reference HERE

Browser other questions tagged

You are not signed in. Login or sign up in order to post.