We help IT Professionals succeed at work.

How to hide execution of a bat file in Windows 7

DistillingExperts
on
623 Views
Last Modified: 2012-05-11
I am trying to execute the following bat content but it keeps showing the window for me to confirm:
@echo off
regsvr32.exe grid32.ocx

C:\Windows\system32>cmd.exe /c c:\temp\file.bat

Any ideas?
Comment
Watch Question

Commented:
Add /s to the end of your regsvr.ex command

regsvr32.exe grid32.ocx /s
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.