Solved How do I run a .bat file minimized?

Nervly

New member
Local time
9:09 AM
Messages
8
Hey, everyone!

So, I created a .bat file that will open My Computer. I made it so the cmd window would start minimized because I don't want it to be seen. Now, if I open the .bat file, it will work just fine, the cmd window will not show up and My Computer will open. However, if I run the .bat file while I'm on my desktop, which is exactly what I want, it will not start minimized. The cmd window will still appear. How can I fix this?

I've tried creating a shortcut and setting it to start minimized (which was what I did on the text above), I tried installing this thing that will run it minimized but the cmd window will appear and disappear in a flash, I tried creating a .vbs file but I couldn't get it to even run, but nothing would work like I wanted.

Thanks in advance,
- Nervly


P.S.: I apologize if this is not in the correct section.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32-bitIntel Pentium Dual Core 2.1Ghz4GBnVidia GeForce G 105M
Computer type
Laptop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Ultimate 32-bit
CPU
Intel Pentium Dual Core 2.1Ghz
Memory
4GB
Graphics Card(s)
nVidia GeForce G 105M
Hard Drives
500GB
Antivirus
Avast
Browser
Opera/Chrome
Add this at the beginning on your code.

Code:
start /min myfile.bat
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel G3420 3.2GHZ Dual CoreKingson 8GB 1600mhzMSI R7970 TF 3GD5/OC BE
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate 64-bit
CPU
Intel G3420 3.2GHZ Dual Core
Motherboard
Gigabyte H87-HD3
Memory
Kingson 8GB 1600mhz
Graphics Card(s)
MSI R7970 TF 3GD5/OC BE
Monitor(s) Displays
21" LG & "19 Vertical Samsung
Hard Drives
120GB SSD - Boot
1TB WD
350GB External
2TB External (Wireless)
PSU
Corsair CX 500 modular
Case
Zalman Z11 Plus (modified)
Cooling
Corsair H55, 2x 120mm SP Corsair, 1x 140 Coolermaster
Keyboard
Corsair K50
Mouse
CSL Gaming
Internet Speed
164Mbps
Antivirus
Avast, Malwarebytes
Browser
Google Chrome, IE, Firefox
I've done that too, but it still doesn't work.
The cmd window will still appear and the code will repeat itself over and over, opening endless Computer windows ending up on freezing my laptop.

Thanks for replying!
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32-bitIntel Pentium Dual Core 2.1Ghz4GBnVidia GeForce G 105M
Computer type
Laptop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Ultimate 32-bit
CPU
Intel Pentium Dual Core 2.1Ghz
Memory
4GB
Graphics Card(s)
nVidia GeForce G 105M
Hard Drives
500GB
Antivirus
Avast
Browser
Opera/Chrome
View the properties of your .bat,

and start minimized
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel G3420 3.2GHZ Dual CoreKingson 8GB 1600mhzMSI R7970 TF 3GD5/OC BE
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate 64-bit
CPU
Intel G3420 3.2GHZ Dual Core
Motherboard
Gigabyte H87-HD3
Memory
Kingson 8GB 1600mhz
Graphics Card(s)
MSI R7970 TF 3GD5/OC BE
Monitor(s) Displays
21" LG & "19 Vertical Samsung
Hard Drives
120GB SSD - Boot
1TB WD
350GB External
2TB External (Wireless)
PSU
Corsair CX 500 modular
Case
Zalman Z11 Plus (modified)
Cooling
Corsair H55, 2x 120mm SP Corsair, 1x 140 Coolermaster
Keyboard
Corsair K50
Mouse
CSL Gaming
Internet Speed
164Mbps
Antivirus
Avast, Malwarebytes
Browser
Google Chrome, IE, Firefox
Did that too, didn't work aswell.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32-bitIntel Pentium Dual Core 2.1Ghz4GBnVidia GeForce G 105M
Computer type
Laptop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Ultimate 32-bit
CPU
Intel Pentium Dual Core 2.1Ghz
Memory
4GB
Graphics Card(s)
nVidia GeForce G 105M
Hard Drives
500GB
Antivirus
Avast
Browser
Opera/Chrome
What is your script that you are trying to run?
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel G3420 3.2GHZ Dual CoreKingson 8GB 1600mhzMSI R7970 TF 3GD5/OC BE
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate 64-bit
CPU
Intel G3420 3.2GHZ Dual Core
Motherboard
Gigabyte H87-HD3
Memory
Kingson 8GB 1600mhz
Graphics Card(s)
MSI R7970 TF 3GD5/OC BE
Monitor(s) Displays
21" LG & "19 Vertical Samsung
Hard Drives
120GB SSD - Boot
1TB WD
350GB External
2TB External (Wireless)
PSU
Corsair CX 500 modular
Case
Zalman Z11 Plus (modified)
Cooling
Corsair H55, 2x 120mm SP Corsair, 1x 140 Coolermaster
Keyboard
Corsair K50
Mouse
CSL Gaming
Internet Speed
164Mbps
Antivirus
Avast, Malwarebytes
Browser
Google Chrome, IE, Firefox
My current script is the following:

Code:
start C:\Windows\System32\cmd\min.exe
explorer ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

The first line is that thingy I installed to start it minimized. When I tried with the /start command, I replaced it for the first line.

I'm basically using Rainmeter with a Skyrim skin (it allows you to customize your desktop). It has several menus, and if I open one of them I can customize what options it will have. So I have one option to open Computer. So when I click that, it should run that .bat file (called OpenComputer.bat), but the .bat file must not appear, even when I'm on my desktop.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32-bitIntel Pentium Dual Core 2.1Ghz4GBnVidia GeForce G 105M
Computer type
Laptop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Ultimate 32-bit
CPU
Intel Pentium Dual Core 2.1Ghz
Memory
4GB
Graphics Card(s)
nVidia GeForce G 105M
Hard Drives
500GB
Antivirus
Avast
Browser
Opera/Chrome
So you have tried:

Code:
@echo OFF
start /min min.exe
explorer ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel G3420 3.2GHZ Dual CoreKingson 8GB 1600mhzMSI R7970 TF 3GD5/OC BE
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate 64-bit
CPU
Intel G3420 3.2GHZ Dual Core
Motherboard
Gigabyte H87-HD3
Memory
Kingson 8GB 1600mhz
Graphics Card(s)
MSI R7970 TF 3GD5/OC BE
Monitor(s) Displays
21" LG & "19 Vertical Samsung
Hard Drives
120GB SSD - Boot
1TB WD
350GB External
2TB External (Wireless)
PSU
Corsair CX 500 modular
Case
Zalman Z11 Plus (modified)
Cooling
Corsair H55, 2x 120mm SP Corsair, 1x 140 Coolermaster
Keyboard
Corsair K50
Mouse
CSL Gaming
Internet Speed
164Mbps
Antivirus
Avast, Malwarebytes
Browser
Google Chrome, IE, Firefox
That worked! Thank you so much :)
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32-bitIntel Pentium Dual Core 2.1Ghz4GBnVidia GeForce G 105M
Computer type
Laptop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Ultimate 32-bit
CPU
Intel Pentium Dual Core 2.1Ghz
Memory
4GB
Graphics Card(s)
nVidia GeForce G 105M
Hard Drives
500GB
Antivirus
Avast
Browser
Opera/Chrome
No worries, :D
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel G3420 3.2GHZ Dual CoreKingson 8GB 1600mhzMSI R7970 TF 3GD5/OC BE
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate 64-bit
CPU
Intel G3420 3.2GHZ Dual Core
Motherboard
Gigabyte H87-HD3
Memory
Kingson 8GB 1600mhz
Graphics Card(s)
MSI R7970 TF 3GD5/OC BE
Monitor(s) Displays
21" LG & "19 Vertical Samsung
Hard Drives
120GB SSD - Boot
1TB WD
350GB External
2TB External (Wireless)
PSU
Corsair CX 500 modular
Case
Zalman Z11 Plus (modified)
Cooling
Corsair H55, 2x 120mm SP Corsair, 1x 140 Coolermaster
Keyboard
Corsair K50
Mouse
CSL Gaming
Internet Speed
164Mbps
Antivirus
Avast, Malwarebytes
Browser
Google Chrome, IE, Firefox
Any way this could work for a .wav file?
 

My Computer My Computer

At a glance

Windows 7 Build 7601
Computer type
PC/Desktop
OS
Windows 7 Build 7601
Back
Top