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
Nefarious

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 Win7.


My System SpecsSystem Spec
.

08 Dec 2010   #2
J.R.

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
Brink
Microsoft MVP

64-bit Windows 10
 
 

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: 53
Size:  60.4 KB

Hope this helps,
Shawn

EDIT:
LOL, RA beat me.


My System SpecsSystem Spec
.


08 Dec 2010   #4
J.R.

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
Nefarious

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
WindowsStar

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
Thread Forum
Hidden _d3d Window how to fix?
I've tried to fix this in the past and know you can fix it by disabling logitech its software but I like it and would like to fix it with that service still enabled. I know its related with bluetooth? When I restart or shut down this window always appears. http://i.imgur.com/L7viiyI.png
Hardware & Devices
Hidden taskar/window?
I've recently been having problems with my taskbar being hidden or the taskbar covering the bottom part of a window. Whenever I maximize a window either the window completely covers the taskbar or the taskbar covers the very bottom of the window. This occurs with every program and I cannot fix it,...
General Discussion
Logitec settings window hidden
I have installed this Logitec G25 Gaming wheel sveral times over the years I'vs had it. Had to do a clean reinstall of Win. 7. Installed the Logitec Gaming Software V5.00 and restarted computer for the driver to be loaded. The WingMan Logi. Profiler opens to the far top of my screen. All I can see...
Gaming
How to see hidden text or hidden streams in a doc(x) file in Starter
I was checking Microsoft Office Word Starter 2010 and I realized that one of the files had hidden text in it. From Options - Display, I chose show hidden text and it was "Top of Form" at the top of the page. But I got curious about this and made some search and I realized that you can hide text in...
Microsoft Office
silent execution of cmd window , hidden files toggle fix please
could anybody help me out with making this right click menu item work in hidden mode aka you wont see the cmd window that executes the command :D How to add toggle hidden files to context menu in Windows 7 | Windows 7,Cloud Computing,Virtualization,Wordpress,SEO,Google,Themes
Customization
Window hidden.
Whenever I click on the computer icon then it shows that it is open at the bottom taskbar but when I click on it, it flashes to screen to the right side, but it is off screen and I cannot find a way to move it back on screen.Currently i used Window 7 professional 32 bit.
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 04:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App