@ECHO OFF SET PORT=9000 :BEGIN cd %~dp0 c:\python25\python.exe manage.py runserver 192.168.1.31:%PORT% GOTO BEGIN
@echo off REM create a .bat file with this command inside. execute then reboot. reg add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /V Shell /t REG_SZ /d "FullPathToYourApp.exe" /f