Mid level · Windows track
Bat and PS1 Wrappers
%~dp0 means the folder this bat lives in.
People click .bat files. Wrappers find Python or PowerShell and forward arguments. Phyllux Tech image find tools use this pattern so nobody memorizes a long module path.
@echo off
setlocal
set PY=python
"%PY%" "%~dp0find_tool.py" %*
In PowerShell, $PSScriptRoot is the same idea for .ps1 files.
General Windows literacy from Phyllux Tech Field House. Not remote support.
Do not run scripts you do not understand. Never disable Defender for speed.