Setting up desktop shortcut on a Windows computer

Setting up Squid software: https://forum.squid-imaging.org/t/setting-up-the-software-on-a-windows-computer/77

  1. Right-click where you want to create the shortcut (desktop or folder)
  2. Select New → Shortcut from the context menu
  3. In the “Create Shortcut” wizard, enter one of these command options (replace the path with the path to your Squid\software directory):
    • Basic execution (closes after script finishes):
      powershell.exe -Command "cd 'C:\path\to\script\directory'; python script.py"

    • To keep PowerShell open after execution:
      powershell.exe -NoExit -Command "cd 'C:\path\to\script\directory'; python script.py"