Pinning A Batch File To Windows 11 Taskbar


'malwarebytes has deleted those files once again'
Oh, gosh, you have been dealing with this for a long time now.
 

My Computers My Computers

  • At a glance

    All Branches but StableAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Stable
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
  • Like
Reactions: HDL
Thank you but I didn't see a way to attach them. I don't have a google drive and don't store anything in the cloud, if that is a requirement.
Click on the Google Drive button in the composition window I posted about and go to Upload.
If you have a Gmail account, you've got 15GB of Drive, free.
It may be the only way to get the attachments to your recipient.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • At a glance

    Windows 11 Pro
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
  • ASUS VivoBook 'Lite' ~ Windows 11 Home
  • Like
Reactions: HDL
As for Malwarebytes.....I stopped using that POS a long time ago. It caused more false positives and problems than it was worth.
I have several programs that it would flag as BAD and want to either delete or quarantine. And it would not let me tell it to "Leave those alone!"
And it would ignore things like Tracking Cookies that were actually BAD for my PC.
Super Anti Spyware gets rid of the Tracking Cookies and the occasional Trojan. And the FREE version works great, only without automatic updates and scans. I may be OLD but still able to do those things myself. lol

:cool:
 

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT
Once again, I tried to send the files to Malwarebyes that they requested. I suppose many will find it hard to believe that a zip file, a bat file, and a zipped bat file were all stopped by Gmail. I tested these files in Gmail because my ISP, for my main email account, does not tell me if they were blocked or not, but Gmail does. Yes, I tried sending the bat file that reads like this:
@echo off
REM Name of folder to open
set FOLDER=Documents

powershell -nop -ep bypass -c "Start-Process 'Control'; $wshell = New-Object -ComObject wscript.shell; $null = $wshell.AppActivate('Control Panel'); Start-Sleep 0.75; $wshell.SendKeys(""^l$env:FOLDER~""")"


Gmail blocked it. I zipped it. Its name was Bat Files.zip. Gmail blocked it.

I sent Malwarebytes messages without any files attached so, hopefully, they would receive them. I sent them the bat file as text as listed above with links to the 2 programs I used - Bat To Exe Converter and Advanced Bat To Exe Convewrter v4.5. I explained in detail how they could replicate every step I followed, including how to create a bat file, in case they didn't know. They must not have liked that because they finally sent me a link that was a direct upload to them, bypassing my email. They said they needed the exact files I had trouble with but apparently didn't want to create them on their own. The link said the files were successfully uploaded. So I sure hope they were.

I believe in all the time it has taken so far, they thought I would give up. I am not sure why they didn't send me that upload link to begin with and cut 2 weeks out of this ticket. Needless to say, I am a little disappointed with their support at the moment.
 

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT
Finally, just today Nov. 28, 2022, I heard from Malwarebytes and they have fixed the problem of Malwarebytes blocking and then deleting the exe files created by both Bat To Exe Converter and Advanced Bat To Exe Converter v4.5. As some of you suspected, it was false positives that were being issued. You have to force a new version of Malwarebytes to install but then it seems to work just fine.
 

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT
Reading the above methods seems a little overcomplicated, I think. So I made a YouTube video to show how I am doing it. It is fairly quick when you have done it a few times.
It is of course stupid that we have to do complicated stuff like this with our own programs on our own computer (or is it actually Microsoft's?)

Link to the YouTube video:
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
I'm sure the video above is very informative but it was more or less lost on me without audio actually explaining what was happening. I'm sure that is my fault but I just didn't get what the file was supposed to do. Sorry.
 

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT
I just didn't get what the file was supposed to do.
I don't think it was so much about what the file was supposed to do..., it was more about how to pin the file, any file, to the Taskbar.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • At a glance

    Windows 11 Pro
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
  • ASUS VivoBook 'Lite' ~ Windows 11 Home
  • Like
Reactions: HDL
Reading the above methods seems a little overcomplicated, I think. So I made a YouTube video to show how I am doing it. It is fairly quick when you have done it a few times.
It is of course stupid that we have to do complicated stuff like this with our own programs on our own computer (or is it actually Microsoft's?)

Link to the YouTube video:

This makes it so make easier. No programs or anything. Just renaming a few times. Thanks so much. I needed something for the start menu and this works great.
 

My Computer My Computer

At a glance

Windows 11AMD Ryzen 7 3700X 8-Core @ 3.60GHz32GB1070 Ti
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Built Myself
CPU
AMD Ryzen 7 3700X 8-Core @ 3.60GHz
Motherboard
B450 TOMAHAWK
Memory
32GB
Graphics Card(s)
1070 Ti
Monitor(s) Displays
Dell S2417DG 24in 144Hz, Pixio PX248 24in 144Hz, Acer SB230 23in 75Hz
Screen Resolution
2560x1440
Hard Drives
Samsung 980 SSD 1TB - M.2 NVMe, 500GB HD, 1TB HD, 2 TB HD
Case
NZXT H510 Elite
Keyboard
Asceny One - 60% Mechanical Keyboard
Mouse
Glorious Model O Wireless
I just have to wonder what MS is doing half the time. it seems like they are intentionally making things difficult for us.
Agreed... (y)

MS loves REMOVING features for no reason. They decided people couldn't use their Taskbar as they see fit; removing the Toolbars for example is when I realized I'll be sticking with my W10 until I fully transition over to Linux as my Host OS. I'm still playing with a few different versions.
 

My Computer My Computer

At a glance

Windows 10 Pro for Workstations 22H2i732 GB, but not enough
OS
Windows 10 Pro for Workstations 22H2
Computer type
Laptop
Manufacturer/Model
HP EliteBook Studio
CPU
i7
Memory
32 GB, but not enough
Monitor(s) Displays
(3) 32" LG 4K
Screen Resolution
A lot :-)
Hard Drives
2TB NVMe's x2
Cooling
external fans
Keyboard
on my desk
Mouse
trapped
Internet Speed
mediocre
Browser
unbearable
Antivirus
good enough
created an account to post an answer to this....

- create a shortcut to the bat file (either right click > Show More Options > Create Shortcut, or right click and drag > Create Shortcut Here)
- open shortcut properties (right click -> Properties)
- in Target, wrap what's there in double-quotes (C:\mybatfile.bat --> "C:\mybatfile.bat")
- add this to the beginning of Target --> C:\Windows\System32\cmd.exe /C (space at the end between this command and the now-quoted original Target)

Target should now look like this:

C:\Windows\System32\cmd.exe /C "C:\mybatfile.bat"

Click OK and you can now just drag that shortcut to the taskbar!
 

My Computer My Computer

At a glance

Windows 11Ryzen 9 3950X64GBNVidia RTX 3090
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
homemade
CPU
Ryzen 9 3950X
Motherboard
ASUS ROG Strix X570-E
Memory
64GB
Graphics Card(s)
NVidia RTX 3090
Sound Card
Audient ID14 mk2
Monitor(s) Displays
Samsung CRG90
Screen Resolution
5120x1440
Internet Speed
gigabit

Latest Support Threads

Back
Top Bottom