Tweets from pichat
| Follow my new user account @markseu About 2 months, 3 weeks ago from Pichat (Pichat Software) |
Tweets from 600infos
| I HAVE NYANED FOR 888.4 SECONDS! http://t.co/JQYOZebv via @nyannyancat About 3 months, 3 weeks ago from 600infos (Wolf) |
Trace: » Hex2Dec » osCommerce » Reset Password » PDF2JPG » plink tunnel » PuttyTabs
You are here: Pichat Wiki (en) » Snippets » PuttyTabs
PuttyTabs
Download from: http://www.raisin.de/putty-tabs/putty-tabs.html
There is a little bug, if the path to the putty.exe is not defined the PuttyTaps will not work.
1st you have to setup the registry key for the puttyexe (default %ProgramFiles%\PuTTY\putty.exe)
reg add HKCU\Software\SimonTatham\PuTTY\TabGui /f /v PuttyExe /t REG_SZ /d "%ProgramFiles%\PuTTY\putty.exe"
… you can use this install and setup-scripts:
- puttytabs_install.cmd
@echo off set _path2puttytab=%ProgramFiles%\PuttyTabs REM set _path2puttytab=%ProgramFiles%\PuTTY REM set _path2puttytab=D:\prg\PuttyTabs echo. echo. will install PuttyTabs now ... echo. rem Erstelle ein eigenes Verzeichnis für PuttyTabs.exe rem oder benutze das der putty.exe echo.create a own path (%_path2puttytab%) for PuttyTabs.exe pause md "%_path2puttytab%"" rem und kopiere diese dorthin echo.copy PuttyTabs.exe there copy "%~dp0\PuttyTabs.exe" "%_path2puttytab%\PuttyTabs.exe" echo.starting the setup now call "%~dp0\puttytabs_setup.cmd" echo. echo.Install finished echo.will start PuttyTabs for you echo.close window or press [ctrl]+[c] to exit or pause start "PuttyTabs" "%_path2puttytab%\PuttyTabs.exe"
- puttytabs_setup.cmd
@echo off set _PuttyExe=%ProgramFiles%\PuTTY\putty.exe rem set _PuttyExe=D:\prg\PuTTY\putty.exe set _windowLeft=0x99 set _windowTop=0x99 rem set _windowWidth=0xaa set _windowWidth=170 set _windowHeight=0x35 set _alwaysOnTop=1 set _moveOutOfView=1 set _initialized=2 set _importPuttyProcesses=1 set _hidePuttyProcesses=0 reg add HKCU\Software\SimonTatham\PuTTY\TabGui /f /v windowLeft /t REG_DWORD /d %_windowLeft% reg add HKCU\Software\SimonTatham\PuTTY\TabGui /f /v windowTop /t REG_DWORD /d %_windowTop% reg add HKCU\Software\SimonTatham\PuTTY\TabGui /f /v windowWidth /t REG_DWORD /d %_windowWidth% reg add HKCU\Software\SimonTatham\PuTTY\TabGui /f /v windowHeight /t REG_DWORD /d %_windowHeight% reg add HKCU\Software\SimonTatham\PuTTY\TabGui /f /v alwaysOnTop /t REG_DWORD /d %_alwaysOnTop% reg add HKCU\Software\SimonTatham\PuTTY\TabGui /f /v moveOutOfView /t REG_DWORD /d %_moveOutOfView% reg add HKCU\Software\SimonTatham\PuTTY\TabGui /f /v initialized /t REG_DWORD /d %_initialized% reg add HKCU\Software\SimonTatham\PuTTY\TabGui /f /v importPuttyProcesses /t REG_DWORD /d %_importPuttyProcesses% reg add HKCU\Software\SimonTatham\PuTTY\TabGui /f /v hidePuttyProcesses /t REG_DWORD /d %_hidePuttyProcesses% rem :set_windowWidth rem set /p _windowWidth=change width of the Window [%_windowWidth%]: rem reg add HKCU\Software\SimonTatham\PuTTY\TabGui /f /v windowWidth /t REG_DWORD /d %_windowWidth% rem echo.windowWidth is now set to %_windowWidth% rem echo. :set_PuttyExe set /p _PuttyExe=Path to putty.exe [%_PuttyExe%]: call :check %_PuttyExe% || goto set_PuttyExe reg add HKCU\Software\SimonTatham\PuTTY\TabGui /f /v PuttyExe /t REG_SZ /d "%_PuttyExe%" echo.PuttyTabs is configured now .... goto end ::functions :check if not exist "%~1\PuTTY.exe" ( if not exist "%~dp1\PuTTY.exe" ( echo.can not find PuTTY.exe in "%~dp1" pause exit /b 1 ) else exit /b 0 ) else ( set _PuttyExe=%~1\PuTTY.exe ) exit /b :end pause