Page 1 of 2 12 LastLast

  1. Joined : Mar 2016
    Posts : 49
    Windows 10 Pro
       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 System SpecsSystem Spec

  2.    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 System SpecsSystem Spec


  3. Joined : Jun 2016
    Los Angeles
    Posts : 533
    Windows 10 Pro
       26 Jul 2016 #3

    You can just drag it to the taskbar.
      My System SpecsSystem Spec


  4. Joined : Mar 2016
    Posts : 49
    Windows 10 Pro
       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 System SpecsSystem Spec


  5. Joined : Mar 2016
    Posts : 49
    Windows 10 Pro
       26 Jul 2016 #5

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

  6.    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 System SpecsSystem Spec


  7. Joined : Mar 2016
    Posts : 49
    Windows 10 Pro
       26 Jul 2016 #7

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


  8. Joined : Oct 2013
    Posts : 17,489
    64-bit Windows 10 Pro build 15014
       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.

    Quick Launch toolbar - Add or Remove in Windows 10
      My System SpecsSystem Spec


  9. Joined : Mar 2016
    Posts : 49
    Windows 10 Pro
       27 Jul 2016 #9

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

    Thanks again Edwin!
      My System SpecsSystem Spec


  10. Joined : Oct 2014
    Posts : 335
    Windows 10x64 15007
       27 Jul 2016 #10

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


 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
Taskbar > File Explorer > Right Click > Pinned > Not Opening with any
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...
General Support
How to change visual effects using batch file or registry file?
Hi there forum, how do you change the Visual effects using a batch file or registry file. Thanks, Edward.
General Support
Can't open folders, which are pinned down to the taskbar (Explorer)
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...
Software and Apps
Solved Custom folder pinned to taskbar?
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...
General Support
Chrome won't launch when pinned to taskbar
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...
Browsers and Email
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 17:36.
Find Us
Twitter Facebook Google+



Windows 10 Forums