F5F Stay Refreshed Software Operating Systems Adding BAT files to the tray notification area in Windows 10 [or another application]

Adding BAT files to the tray notification area in Windows 10 [or another application]

Adding BAT files to the tray notification area in Windows 10 [or another application]

N
NorthwestSun
Member
202
04-13-2016, 09:35 AM
#1
You can place the BAT or LNK file directly in the tray notification area above the clock in Windows 10. This way it will appear as an executable and remain accessible without needing to pin it elsewhere. The tray location lets you keep it visible and ready to run, similar to a permanently pinned EXE on your taskbar.
N
NorthwestSun
04-13-2016, 09:35 AM #1

You can place the BAT or LNK file directly in the tray notification area above the clock in Windows 10. This way it will appear as an executable and remain accessible without needing to pin it elsewhere. The tray location lets you keep it visible and ready to run, similar to a permanently pinned EXE on your taskbar.

_
_SmilesKillMe
Member
144
05-01-2016, 03:18 AM
#2
Open a new link to cmd /c "path\to\file.bat" and place it on the taskbar.
_
_SmilesKillMe
05-01-2016, 03:18 AM #2

Open a new link to cmd /c "path\to\file.bat" and place it on the taskbar.

D
dopehead56
Junior Member
29
05-01-2016, 11:47 AM
#3
Create a robust button that stays clearly visible on your vertical taskbar, positioned above the clock so it remains accessible even with many open windows.
D
dopehead56
05-01-2016, 11:47 AM #3

Create a robust button that stays clearly visible on your vertical taskbar, positioned above the clock so it remains accessible even with many open windows.

D
Durif
Member
125
05-02-2016, 01:08 PM
#4
Sure, here are some ideas.
D
Durif
05-02-2016, 01:08 PM #4

Sure, here are some ideas.

R
RoyalUmbreon
Member
162
05-06-2016, 04:06 AM
#5
I searched for this specific solution but found no built-in method. I created a simple AutoHotKey script and shared it on GitHub. You’ll need to install AutoHotKey v2, replace the placeholder parts with your file details, and then execute it. Note that it won’t start automatically by default—manual setup or scheduling is required. This approach worked well for me; let me know if you need help!
R
RoyalUmbreon
05-06-2016, 04:06 AM #5

I searched for this specific solution but found no built-in method. I created a simple AutoHotKey script and shared it on GitHub. You’ll need to install AutoHotKey v2, replace the placeholder parts with your file details, and then execute it. Note that it won’t start automatically by default—manual setup or scheduling is required. This approach worked well for me; let me know if you need help!

A
206
05-09-2016, 01:35 AM
#6
This seems intriguing as well for other purposes; thank you. However, if the goal of such a script in Tray is to launch another program when its icon is clicked—potentially stopping all kinds of scripts including AHK ones—it could be removed that way. Since it would only run once before being closed, it wouldn't be able to handle repeated rapid activations. As I can assure you, my limited coding experience hasn’t caused my Taskbar to overflow with CMD icons. The best use case appears to be sticking with AHK V1 for most tasks while using V2 when needed.
A
Anthony69edher
05-09-2016, 01:35 AM #6

This seems intriguing as well for other purposes; thank you. However, if the goal of such a script in Tray is to launch another program when its icon is clicked—potentially stopping all kinds of scripts including AHK ones—it could be removed that way. Since it would only run once before being closed, it wouldn't be able to handle repeated rapid activations. As I can assure you, my limited coding experience hasn’t caused my Taskbar to overflow with CMD icons. The best use case appears to be sticking with AHK V1 for most tasks while using V2 when needed.