snippets with tag 'bat'

Shell : Perfect django .bat dev startup scriptCréez un fichier run.bat qu'il vous suffira de double cliquer pour lancer Django dans une boucle 'infinie'. Faites Ctrl+C pour relancer le serveur si besoin. (uniquement pour le serveur de dev)
@ECHO OFF

SET PORT=9000

:BEGIN
cd %~dp0
c:\python25\python.exe manage.py runserver 192.168.1.31:%PORT%
GOTO BEGIN
 
tags : system, django, bat, windows

Shell : Change windows default shell (replace explorer)This will change your windows default shell to your custom shell. (Ctrl+Alt+Del still active so you can reactivate explorer.exe if needed)
@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
tags : system, bat, windows

all tags : python, system, vlc, video, apache, proxy, linux, django, MySQL, .NET, XML, XSL, regexp, bat, windows, bash, git

back to snippets home
site réalisé et hébergé par revolunet © 2009 - informations légales