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

System One System Two

  • OS
    Win11 All /Debian/Arch
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
  • 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

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
  • 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

System One

  • OS
    Win-11/Pro/64, Optimum 11 V5, 23H2 22631.3374
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Made w/Gigabyte mobo/DX-10
    CPU
    AMD FX 6350 Six Core
    Motherboard
    Gigabyte, DX-10, GA-78LMT-USB3
    Memory
    Crucial, 16 GB
    Graphics Card(s)
    NVIDEA GeForce 210, 1GB DDR3 Ram.
    Sound Card
    Onboard
    Monitor(s) Displays
    24" Acer
    Screen Resolution
    1280x800
    Hard Drives
    Crucial SSD 500GB, SanDisk 126GB SSD, Toshiba 1TB HD
    PSU
    EVGA 500 W.
    Case
    Pac Man, Mid Tower
    Cooling
    AMD/OEM
    Keyboard
    101 key, Backlit/ Mechanical Switches/
    Mouse
    Logitech USB Wireless M310
    Internet Speed
    Hughes Net speed varies with the weather
    Browser
    Firefox 64x
    Antivirus
    Windows Defender, Super Anti Spyware
    Other Info
    Given to me as DEAD, and irreparable.
    Rebuilt with Gigabyte mobo, AMD cpu, 16GB ram and 500GB Crucial SSD.

My Computer

System One

  • OS
    Windows 11 Pro ver. 22H2
    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

System One

  • OS
    Windows 11 Pro ver. 22H2
    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

System One

  • OS
    Windows 11 Pro ver. 22H2
    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

System One

  • OS
    Windows 11 Pro ver. 22H2
    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

System One

  • 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

System One

  • OS
    Windows 11 Pro ver. 22H2
    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

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
  • 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

System One

  • 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

System One

  • 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

System One

  • 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