- Local time
- 7:14 PM
- Messages
- 661
The past few days, whenever a cmd window opens (usually via a batch script or vbs file, but if I go to the Search box, type cmd and click on the cmd.exe result, that also does the same thing), the window opens on my desktop but immediately minimises to the taskbar. I want things back the way they were (no idea why the behaviour has changed), so that it remains up on my desktop, in its usual normal window, and I can read it. I am currently having to go down to the taskbar every time to bring it back up (which as I use quite a lot of scripting, is getting very frustrating).
If I launch the script from a shortcut, it will open normally; whereas if I click on the script file itself, it goes to the taskbar. Since many batch or vbs scripts I run are part of a larger one, they are all pointed to the .bat or .vbs script itself, not to a shortcut. For example, this extract from a vbs script, which launches the batch script from the bat file (not a shortcut to that file):
Just to be clear, I have no instruction in the script itself for this to happen and scripts that I have used for years are now all being sent to the taskbar the second they open, instead of remaining in a readable window, as they always have in the past.
Can anyone please help me with this? Thanks.
If I launch the script from a shortcut, it will open normally; whereas if I click on the script file itself, it goes to the taskbar. Since many batch or vbs scripts I run are part of a larger one, they are all pointed to the .bat or .vbs script itself, not to a shortcut. For example, this extract from a vbs script, which launches the batch script from the bat file (not a shortcut to that file):
Code:
Dim objShell
Set objShell = WScript.CreateObject( "WScript.Shell" )
objShell.Run("""C:\Users\Martin\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Batch Files\FS\PF3-XP_ini.bat""")
Set objShell = Nothing
Can anyone please help me with this? Thanks.
Last edited:
My Computer
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Custom Build
- OS
- Windows 7 Home Premium SP1 64-bit
- CPU
- Intel Core i7-4790K CPU @ 4.5GHz
- Motherboard
- Asus H97I-PLUS
- Memory
- 16GB KINGSTON HYPER-X FURY DUAL-DDR3 1600MHz
- Graphics Card(s)
- 8GB NVIDIA GEFORCE GTX 1070
- Monitor(s) Displays
- HannsG 28" & Dell 24"
- Screen Resolution
- 1920x1200
- Hard Drives
- 1 x 2TB Samsung Evo 860 SSD
2 x 500GB Samsung Evo 850 SSD
- PSU
- CORSAIR 650W CS SERIES
- Case
- Thermaltake Core V1 Mini ITX Cube
- Cooling
- NOCTUA NH-L12
- Browser
- Firefox
- Other Info
- Custom PC used for X-Plane 11