Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
adee pe Simpatie.ro
Femeie
24 ani
Mures
cauta Barbat
24 - 59 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [VBS] Run a Program Hidden from VBScript Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
Mrrrr
AdMiN

Inregistrat: acum 17 ani
Postari: 2186
Do you know that you can start an application hidden in Windows? Sometimes you need to because some apps can run in the background doing their task without interrupting your workflow. You might want to run an app hidden from a batch script, let it do its work and not show any window. In this article, we will see all ways to run a program hidden in Windows 10.

Open your favorite text editor and paste the following text:

Dim WShell
Set WShell = CreateObject("WScript.Shell")
WShell.Run "Notepad.exe", 0 ' zero tells it to run the application hidden
Set WShell = Nothing


Save it to a file with the .VBS extension. When you double click it, it will start Notepad hidden.

If the application path contains spaces, add quotes to the beginning and to the end of the path. For example:

WShell.Run """" & "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" & """", 0


To call it from a batch file, execute it as follows:

wscript ""path\to\your vbs file.vbs"


Source for more options including VBS:


_______________________________________


pus acum 3 ani
   
Pagini: 1  

Mergi la