How do I PIN a x.BAT file to the TASKBAR?

jagman55

New member
Member
VIP
Local time
11:50 AM
Messages
115
I want to execute 2 programs in a row from C:/Program Files (x86)/xxx/yyy.bat which contains programs: #1, then #2 .
Then I want to PIN it to the Taskbar to make it easy as I use it all the time.
There is lots of BS about how to do this using CMD.exe, etc and wasted lots of time following bad instructions.

Anyone ever done this successfully? OR is there a better way to execute one program that needs to be run before the next one, and then PIN the shortcut, etc as BAT can not on my system (Windows 7, 64bit, Home Premium) be pinned directly.

Would appreciate a workable answer.

Thanks
 

My Computer My Computer

At a glance

windows 7 ultimate2 quads @ 2.43gb
Computer Manufacturer/Model Number
HP pavilion
OS
windows 7 ultimate
CPU
2 quads @ 2.4
Memory
3gb
Monitor(s) Displays
tv
Hard Drives
many vendors
Code:
C:\Windows\explorer.exe "C:\Program Files (x86)\xxx\yyy.bat"
works for me

right-click on an empty spot on your desktop
select New > Shortcut from the context menu
paste in the code above and select Next
name the shorctut and select Finish

change the shortcut's icon before pinning to the taskbar

pinned.png
 
Last edited:

My Computer My Computer

At a glance

W7 Pro SP1 64biti78GBIntel HD Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Back
Top