repo.or.cz
/
Python-Scripts.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Small update to getprefix.
[Python-Scripts.git]
/
PySmile
/
pysmile-gen.bat
blob
3ca9ca1d8c1147fc3aa3e854fa4112b11889c2f8
1
@echo off
2
set PyVer=2.7
3
set OLDPATH=%PATH%;
4
FOR /f "tokens=3* delims= " %%! in ('REG.EXE QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\%PyVer%\InstallPath" /ve ^| Findstr.exe /ri "\<NO NAME\>"') DO set PATH=%PATH%;%%!;
5
python -b -B -x "./pysmile.py" %*