Table of Contents

Windows 10 Setup

Start Menu Configuration

Pin a batch file to the Start menu or Taskbar in Windows 10.

  1. Right click on the Desktop and select the command “New → Shortcut” from the context menu.
  2. In the shortcut target, type the following text: cmd /c “C:\Users\David\Documents\Code\RunPuttyPageant.bat”
  3. Name the shortcut and change its icon if you want
  4. Right click the shortcut and choose “Pin to Start” from the context menu.

Alternative: Run the Python Script directly from the shortcut

It may be possible to make the body of the batch file be the shortcut.

RunPuttyPageant.bat
C:\Python27\Pythonw.exe C:\Users\David\Documents\Code\Scripts\Python\RunPuttyPageant.pyw