Child pages
  • 4DOS 의 강력한 기능을 NT에서 - Take Command Console LE(tccle)

Contents

Windows NT 용으로 4NT 라는 이름으로 출시되었다가 tcc 로 이름 변경


Total Commander 의 Button Bar 설정




Command

C:\util\TCCLE13x64\tcc.exe


Parameterscd %P &  ALIAS/R c:\util\TCCLE13x64\alias.ini & SET/R c:\util\TCCLE13x64\set.ini
Start Path

Icon fileC:\util\TCCLE13x64\tcc.exe




alias.init


qal 하면 editor 가 뜨고 변경된 alias 재반영

sett

:--------------------------------------:
:-------------- ALIAS.REF -------------:
:--------------------------------------:
:curl curl.exe -C - -O
jelly C:\Users\lesstif\Downloads\commons-jelly-1.0\bin\jelly.bat
npp d:\util\notepad++\notepad++.exe
np++ npp
vi c:\util\Vim\vim74\gvim.exe
gvim vi
qa vi c:\autoexec.bat & cls
qc vi c:\config.sys & cls
qal START  /LA /WAIT /PGM "c:\util\Vim\vim74\gvim.exe" "c:\util\tccle13x64\alias.ini" & unalias * & alias /r c:\util\tccle13x64\alias.ini
:qal pushd %_TCSTART & vi alias.ini & unalias * & alias /r %_TCSTART\alias.ini & popd 
rea*lias  unalias * & alias /r c:\util\tccle13x64\alias.ini
dir *dir/w/p
sett*ing START  /LA /WAIT /PGM "c:\util\Vim\vim74\gvim.exe" "c:\util\tccle13x64\\set.ini" & set /r c:\util\tccle13x64\set.ini & cls
rese*tting unset * & set /r c:\util\tccle13x64\set.ini & cls
perl c:\perl\bin\perl.exe
shutdown %1 %2 reboot /v
path eset path
:nmake e:\Progra~1\DevStu~1\vc\bin\nmake.exe /nologo
m c:\util\m\m.exe
bcc c:\util\compiler\bcc55\bin\bcc32.exe
: 
ant d:\devel\apache-ant-1.9.1\bin\ant.bat
mvn d:\devel\apache-maven-3.0.4\bin\mvn.bat
php d:\devel\php-5.4.16-Win32-VC9-x86\php.exe
doxygen c:\Progra~1\doxygen_1.5.8\bin\doxygen.exe 
: HTML WorkShop
hhc "C:\Program Files\HTML Help Workshop\hhc.exe"
6vcvars32 "C:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT" & set QTDIR="D:\devel\Qt\4.4.3" & set PATH=%QTDIR%\bin;%PATH%
7vcvars32 "C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Vc7\bin\VCVARS32.BAT" & set QTDIR="D:\devel\Qt\4.4.3_Vs2003" & set PATH=%QTDIR%\bin;%PATH%
8vcvars32 "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" & set QTDIR="D:\devel\Qt\4.6.3_vs2005" & set PATH=%QTDIR%\bin;%PATH%
9vcvars32 "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
10vcvars32 "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"
cmake c:\devel\cmake-2.8.11.2-win32-x86\bin\cmake.exe
scriptella c:\devel\scriptella-1.1\bin\scriptella.bat
: Ruby
useruby echo "Setting Ruby Interpreter" & set RUBY_HOME=d:\devel\jruby-1.5.1 & set PATH=%RUBY_HOME%\bin;%PATH%
usejruby echo "Setting Java Ruby Interpreter" & set RUBY_HOME=d:\devel\Ruby187 & & set PATH=%RUBY_HOME%\bin;%PATH%
aptana "D:\devel\Aptana Studio 3\AptanaStudio3.exe" -data "d:\work_java\Aptana WorkSpace"
:JDK설정
jdk4 set JAVA_HOME=c:\devel\java\j2sdk1.4.2_19 & set PATH=%JAVA_HOME%\bin;%PATH%
jdk5 set JAVA_HOME=c:\devel\java\jdk1.5.0_22 & set PATH=%JAVA_HOME%\bin;%PATH%
jdk6 set JAVA_HOME=c:\devel\java\jdk1.6.0_23 & set PATH=%JAVA_HOME%\bin;%PATH%
jdk7 set JAVA_HOME=c:\devel\java\jdk1.7.0_21 & set PATH=%JAVA_HOME%\bin;%PATH%

:Utility
flyway d:\util\flyway-2.3.1-no-clean-target\flyway.cmd
:-----------------------------------------------------------------------------
:     Keystroke
:-----------------------------------------------------------------------------
@F12=d & r


c:\util\TCCLE13x64\set.ini

EDITOR=C:\util\Vim\vim74\gvim.exe
JAVA_HOME=c:\devel\java\jdk1.6.0_43
;PATH=d:\devel\jruby-1.5.1\bin;%PATH;%JAVA_HOME\bin
;PHP_PEAR_BIN_DIR=c:\devel\php-5.4.16-Win32-VC9-x86
;PHP_PEAR_DATA_DIR=c:\devel\php-5.4.16-Win32-VC9-x86\pear\data
;PHP_PEAR_DOC_DIR=c:\devel\php-5.4.16-Win32-VC9-x86\pear\docs
;PHP_PEAR_INSTALL_DIR=c:\devel\php-5.4.16-Win32-VC9-x86\pear
;PHP_PEAR_PHP_BIN=c:\devel\php-5.4.16-Win32-VC9-x86\php.exe
;PHP_PEAR_SYSCONF_DIR=c:\devel\php-5.4.16-Win32-VC9-x86
;PHP_PEAR_TEST_DIR=c:\devel\php-5.4.16-Win32-VC9-x86\pear\tests


c:\util\TCCLE13x64\alias.ini


StartBatch 찾는 순서

Example 1


Assume that you execute the command line below:


c:\TCMD\TCC.exe c:\TCMD\start.btm


The events below will take place in the order shown:


1 Windows starts c:\TCC\TCC.exe

2 TCC initializes from

1st choice: c:\TCC\TCMD.INI

2nd choice: TCMD.INI in the %localappdata% directory.

3.1 If the initialization file was found, and it contains the directive

TCStartPath=c:\start

and one of the files

c:\start\tcstart.btm

c:\start\tcstart.bat

c:\start\tcstart.cmd

c:\start\tcstart.exe

c:\start\tcstart.com

exists, that file is executed by TCC.

3.2 If no initialization file was found in Step 2, or the initialization file either does not contain the TCStartPath directive, or the value of the directive is c:\TCC, and a TCSTART program is found in directory c:\TCC, it is executed by TCC

4 TCC executes c:\tcmd\start.btm (or, if not found, it displays an error message).

5 TCC displays the command prompt, unless an EXIT command was executed in c:\tcmd\start.btm, terminating TCC.




tcstart.btm
@ECHO OFF
REM Setting env for Visual Studio 10
CALL "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"
  • No labels

This page has no comments.