Windows 10: Can a batch file be pinned to the taskbar? Solved

Page 1 of 2 12 LastLast
  1.    26 Jul 2016 #1

    Can a batch file be pinned to the taskbar?


    Right clicking a batch file on my desktop does not give me the option to pin it, is there a way?

    Thanks!
      My ComputerSystem Spec


  2. Posts : 8,848
    Windows 10 Professional
       26 Jul 2016 #2

    rboppy said: View Post
    Right clicking a batch file on my desktop does not give me the option to pin it, is there a way?

    Thanks!
    You'll need to create a shortcut of the batch file with the prefix explorer.exe
      My ComputersSystem Spec

  3.    26 Jul 2016 #3

    You can just drag it to the taskbar.
      My ComputerSystem Spec

  4.    26 Jul 2016 #4

    Edwin said: View Post
    You'll need to create a shortcut of the batch file with the prefix explorer.exe
    Like explorer.exe\batchfile.bat?
      My ComputerSystem Spec

  5.    26 Jul 2016 #5

    spunk said: View Post
    You can just drag it to the taskbar.
    That didn't work.
      My ComputerSystem Spec


  6. Posts : 8,848
    Windows 10 Professional
       26 Jul 2016 #6

    rboppy said: View Post
    Like explorer.exe\batchfile.bat?
    Put the batch file somewhere it won't get moved.
    Shift/Right click it, Copy as Path, paste that in a new shortcut dialog but add the prefix explorer.exe and a space

    Example: explorer.exe "C:\Z Pack\Context BAT\Load_x64.bat"

    drag that to the taskbar, delete the shortcut if you wish.
      My ComputersSystem Spec

  7.    26 Jul 2016 #7

    Thanks Edwin, I'll try that in the morning.
      My ComputerSystem Spec


  8. Posts : 22,856
    64-bit Windows 10 Pro build 16257
       26 Jul 2016 #8

    Hello rboppy,

    If you like, you could also add the Quick Launch toolbar to the taskbar, then add the .bat file to Quick Launch.

    https://www.tenforums.com/tutorials/4...dows-10-a.html
      My ComputersSystem Spec

  9.    27 Jul 2016 #9

    Thanks Brink, but Edwin's suggestion worked like a charm!

    Thanks again Edwin!
      My ComputerSystem Spec

  10.    27 Jul 2016 #10

    Code:
    cmd.exe /c "Path to batch file"
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
The Problem. Taskbar > File Explorer > Right Click > Pinned > Documents , Desktop or Anything on the drop down list Not Opening with any Double Click or Right Click > Open Click . . .On 1 of my PC's (main One) , Works OK on the Others. I believe...
Hi there forum, how do you change the Visual effects using a batch file or registry file. Thanks, Edward.
I have a problem opening folders that i pinned down in the taskbar. 27392 When I click a folder nothing happens (with the exception of "this PC"/"Your PC", in which case it actually opens what it should open) This problem is limited to Windows...
Is there a way to pin one or more folders to the taskbar? I know I can access it through the file explorer's jumplist but this involves too many clicks, and I like to be able to access my Downloads and Dropbox folder from the task bar, not the...
Hello I have chrome pinned to the task bar but it won't simply launch the application like it does with all the my other icons. I have to keep right clicking it and then choosing chrome within the menu - kinda annoying. Is there a way to...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 00:42.
Find Us