Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Trying to run a .bat file as a hidden window


08 Dec 2010   #1

Windows 7 Ultimate x64
 
 
Trying to run a .bat file as a hidden window

I have a batch script I'm running for an application, but it runs in a visable cmd windows. I'd like to set it up to run in a hidden window though and add it to my startup folder or as a service. I can handle the service stuff, but I cant figure out how to run a batch file hidden in Windows 7.

My System SpecsSystem Spec
.

08 Dec 2010   #2
R A

W7PRO/ULT 32/64
 
 

Make a shortcut to the .bat file and click on properties and change the shortcut to run minimized. Put the shortcut in your startup folder.
My System SpecsSystem Spec
08 Dec 2010   #3
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Nefarious,

You could create a shortcut from the BAT file, set the shortcut to "Run" Minimized as below, then add this shortcut to the "Startup" folder for this.

Name:  Minimized.jpg
Views: 47
Size:  60.4 KB

Hope this helps,
Shawn

EDIT:
LOL, RA beat me.


My System SpecsSystem Spec
.


08 Dec 2010   #4
R A

W7PRO/ULT 32/64
 
 

Quote   Quote: Originally Posted by Brink View Post

EDIT:
LOL, RA beat me.
But you have a picture!
My System SpecsSystem Spec
09 Dec 2010   #5

Windows 7 Ultimate x64
 
 

Thanks guys, but that only runs it as minimized. I want no traces of it running. I'm sure this can be done via a vbs script.
My System SpecsSystem Spec
09 Dec 2010   #6

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

Sure can:

Code:
Set WShShell = WScript.CreateObject("WScript.Shell")
WShShell.Run "notepad.exe", 0
My System SpecsSystem Spec
Reply

 Trying to run a .bat file as a hidden window




Thread Tools



Similar help and support threads for2: Trying to run a .bat file as a hidden window
Thread Forum
Hidden taskar/window? General Discussion
Logitec settings window hidden Gaming
How to see hidden text or hidden streams in a doc(x) file in Starter Microsoft Office
silent execution of cmd window , hidden files toggle fix please Customization
XP-style notification area? (no tiny window for hidden icons) Customization
Window hidden. General Discussion
Mysterious Hidden file General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:11 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33