mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
Update example MS Windows batch file
Run LinkChecker after installing with pip on Python from the MS Store.
This commit is contained in:
parent
89613d56f2
commit
bfb992fa2b
1 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
@echo off
|
||||
:: example using linkchecker on windows, logging to html
|
||||
set PYDIR=c:\python26
|
||||
%PYDIR%\python.exe %PYDIR%\scripts\linkchecker -Fhtml http://www.example.com
|
||||
:: 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 %*
|
||||
|
|
|
|||
Loading…
Reference in a new issue