If you have path problems, you can use the batch file I posted some time ago.
here is the code, simply save as pypat.bat in the portablePython directory (the same as Python-Portable.exe)
@echo off
@echo -----------------------------------------------------------------------------
@echo TYPE pypath assoc with admin rights to associate .py files to portable-python
@echo -----------------------------------------------------------------------------
if NOT "%1" == "assoc" (
goto path_set
)
:check_Permissions
echo assoc option selected:
echo Administrative permissions required. Detecting permissions...
net session >nul 2>&1
if %errorLevel% EQU 0 (
echo Success: Administrative permissions confirmed.
goto assoc_py_file
) else (
echo Failure: Current permissions inadequate.
goto path_set
)
pause >nul
:assoc_py_file
Assoc .py=pythonFile
ftype pythonfile =%~dp0App\python.exe "%1" %*
:path_set
PATH=%~dp0;%~dp0App;%~dp0Scripts;%path%
echo PATH
echo %PATH%
@echo ----------------------------------------------------------------------------