linkchecker/doc/examples/windows.bat
Chris Mayo bfb992fa2b Update example MS Windows batch file
Run LinkChecker after installing with pip on Python from the MS Store.
2020-08-29 16:57:57 +01:00

4 lines
261 B
Batchfile

@echo off
:: Do replace the for loop with setting SCRIPTSDIR to the literal path
for /f "delims=" %%i in ('python -c "import site; print(site.getusersitepackages().replace('site-packages', 'Scripts'))"') do set SCRIPTSDIR=%%i
python %SCRIPTSDIR%\linkchecker %*