read-pdf.cmd 220 B

123456
  1. @echo off
  2. setlocal
  3. set "PS=%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe"
  4. if not exist "%PS%" set "PS=powershell"
  5. "%PS%" -NoProfile -ExecutionPolicy Bypass -File "%~dp0read-pdf.ps1" %*
  6. exit /b %errorlevel%