태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.

티스토리 툴바


컴퓨터를 사용하다면서 이런 저런 프로그램을 실행하다 보면 가끔 위와 같은류의 메시지를 발견할수가 있다.

이 메시지는 컴퓨터에 VB 로 만든 프로그램을 구동시키기 위한 모듈들이 없기 때문에 발생한다.

보통 VB6으로 만든 프로그램은 MSVBVM60.dll 만 있으면 구동이 되며 이 파일은 윈도우 설치시 시스템 디렉토리에 자동으로 설치되어있다. 그러나 한국어판로 만든 프로그램은 추가 적으로 VB6KO.dll 이 더 필요하다.

 

그리고 추가적으로 여러 OCX 파일들을 사용하는데 프로그램 개발시 사용한 OCX 파일이 없으면 구동이 안된다.

이 런타임 파일에는 공통적으로 많이 사용되는 아래의 파일이 포함되어있으니 VB6으로 개발되어진 프로그램을 쉽게 구동시킬수 있다.

comctl32.ocx
Comdlg32.ocx
MSCOMCT2.OCX
MSCOMCTL.OCX
msinet.ocx
tabctl32.ocx
VB6KO.DLL

 

사용법은 간단하다.

vb6env.exe 를 그냥 실행시켜놓고 원래 실행하고자하는 폴더로 CD 명령어를 이용해 이동하거나 해서 실행하는 방법과

vb6env.exe 에 파라메터로 실행하고자 하는 파일의 풀패스네임을 전달해주면 바로 구동된다.




크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 벌커덕스

SVN을 사용하다 보면 commit 은 가뭄에 콩나듯 하고 update 는 수시로 하게 된다.

실제 작업자 라던지 commit을 할 사용자는 전체 사용자중에 일부일 뿐이고 대다수의 사용자는 주로 update를 하여 최신버전을 이용하거나 테스트할 환경을 만든다.

필자의 경우 게임 클라이언트의 사내 배포를 위하여 svn 을 이용하는데 테스트용 PC마다 svn 을 세팅하기가 여간 귀찮은 것이 아니다.

물론 초기에 테스트PC마다 svn 세팅을 해놓으면 그이후로는 update 를 해주면 되겠지만 처음에 세팅을 해줘야한다는것 자체가 귀차니즘을 발동시킨다.

간단하게 실행시킬 방법으로 1. 복사 2. 실행 만 가지고 세팅이 끝나는걸 원하다 보니 많은 svn 클라이언트중 커맨드라인 클라이언트인 svn.exe 를 다이렉트로 복사해서 쓰기로 했다.

 

svn.exe 는 커맨드라인 유틸리티로 파라메터에 따라 각각의 동작을 수행하게 되어있다.

그리고 svn.exe 만 가지고는 실행이 안되고..

\libapr-1.dll
\libaprutil-1.dll
\libeay32.dll
\libsvn_client-1.dll
\libsvn_delta-1.dll
\libsvn_diff-1.dll
\libsvn_fs-1.dll
\libsvn_ra-1.dll
\libsvn_repos-1.dll
\libsvn_subr-1.dll
\libsvn_wc-1.dll
\ssleay32.dll
\svn.exe

가 모두 같이 있어야한다.

exe로 dll 을 패킹하는 방법은 많지만 우선 편하게 thinapp 를 이용하여 svn_up.exe 로 패킹을 하고

같은 폴더에

update.bat 를 만들어 아래의 내용을 저장했다.

@echo made by bulker  오후 4:32 2010-08-20
svn_up up
pause

그러면 남은 건 svn_up.exe 와 svnup.bat 를 배포할 클라이언트와 함께 대상 PC에 복사한후 필요에 따라 update.bat 만 실행해주면 자동으로 업데이트가 마쳐진다.

 

아 물론 최초 복사시 checkout 받아둔 PC에서 .svn 이라고 숨겨진 폴더까지 통채로 복사해야만 다른PC에서 checkout 하는 과정을 생략할수 있다.

- svn.exe 는 http://subversion.tigris.org/ 에서 받을수 있으니 서버 버전에 따라 필요한것으로 받아서 이용하면 된다.

- 단일파일 패킹하기가 귀찮으면 위에 적혀있는 해당파일을 몽창 같이 복사해주면 된다.

- 첨부한 파일은 svn 1.6.x 용이다.



크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 벌커덕스
TAG svn

 

SVN을 처음 사용했을 때 Tortoise SVN을 사용했었다.

SVN 클라이언트에 대한 개념도 그다지 없었고 그냥 쓰게 된 것이 SVN을 처음 접해본 것이었다.

그러나 한가지 문제는 이 프로그램은 탐색기에 통합된 버전으로 설치하고 나면 상시 모니터가 상주하며(TSVNCache.exe)

시간이 흐를수록 이 상주된 프로그램이 뭔 짓거리를 하는지 점점 시스템 리소스를 깎아 먹는다.

필자는 큰 이유 없이 램에 상주하는 프로그램을 아주 매운데 뜨겁기까지 한 음식 만큼이나 싫어 한다.

특히 인터넷 뱅킹 좀 하려고 하면 서비스 형태로 깔리는 프로그램은 더욱 싫어한다.

 

예전에는 (SVN 1.4.xx 대) 거북이 SVN 이 독립된 형태로 실행이 불가능 하였던 걸로 기억이 된다.

최근 프로그램을 다시 받아서 테스트해보니 독립된 형태로 무척 잘 돌아가는 것을 확인하였다.

 

각설하고.. 가상컴퓨터에 거북이 SVN과 한글 언어팩을 설치한 후 Program Files 폴더아래 TortoiseSVN 폴더를 임의의 폴더에 통채로 복사해 놓는다.

 

 

복사가 끝났으면 토탈커맨더에서 제공하는 기능중 버튼바에 필요한 기능을 추가하여 프로그램을 실행시키면 된다.

새로운 버튼바를 생성하고 파라메터, 표시명칭을 입력해주면 된다.

 

새로 만드는것 조차 번거롭기 때문에 아래의 텍스트를 복사해서 Tortoise.bar 로 저장후 편집기로 각자의 경로에 맞는 부분을 수정하여 사용해도 된다.

아래의 내용중  %COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe 라고 되어있는 부분을

각자의 경로로 변경한 후 버튼바로 등록하여 사용하면 된다.

 

[Buttonbar]
Buttoncount=36
button1=wcmicons.dll,15
cmd1=%COMMANDER_PATH%\ButtonBar\default.bar
iconic1=0
button2=
iconic2=0
button3=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
cmd3=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
path3=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic3=0
menu3=TortoiseProc
button4=
iconic4=0
button5=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,2
cmd5=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param5=/command:checkout /path:"%P"
path5=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic5=0
menu5=체크아웃
button6=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,22
cmd6=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param6=/command:relocate /path:"%P"
path6=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic6=0
menu6=리로케이트(저장소URL변경)
button7=
iconic7=0
button8=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,99
cmd8=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param8=/command:repobrowser /path:"%P"
path8=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic8=0
menu8=저장소 브라우저
button9=
iconic9=0
button10=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,3
cmd10=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param10=/command:update /path:"%P" /closeonend:0
path10=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic10=0
menu10=업데이트
button11=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,4
cmd11=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param11=TortoiseProc.exe /command:commit /path:"%P" /logmsg:"토커에서 커밋" /closeonend:0
path11=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic11=0
menu11=커밋
button12=
iconic12=0
button13=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,24
cmd13=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param13=/command:repostatus /path:"%P"
path13=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic13=0
menu13=수정파일 체크
button14=
iconic14=0
button15=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,17
cmd15=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param15=/command:log /path:"%P"
path15=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic15=0
menu15=로그 보기
button16=
iconic16=0
button17=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,17
cmd17=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param17=/command:properties /pathfil%COMMANDER_DRIVE%"%P%N" /deletepathfile
path17=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic17=0
menu17=속성
button18=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,7
cmd18=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param18=/command:cleanup /path:"%P"
path18=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic18=0
menu18=클린업
button19=
iconic19=0
button20=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,13
cmd20=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param20=/command:copy /path:"%P"
path20=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic20=0
menu20=복사(브랜치/태그생성)
button21=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,9
cmd21=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param21=/command:switch /path:"%P"
path21=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic21=0
menu21=스위치(브랜치/태그전환)
button22=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,5
cmd22=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param22=/command:add /path:"%P%N"
path22=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic22=0
menu22=추가
button23=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,6
cmd23=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param23=/command:revert /path:"%P"
path23=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic23=0
menu23=되돌리기
button24=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,14
cmd24=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param24=/command:remove /path:"%P%N"
path24=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic24=0
menu24=리무브
button25=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,15
cmd25=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param25=/command:rename /path:"%P%N"
path25=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic25=0
menu25=이름바꾸기
button26=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,61
cmd26=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param26=/command:blame /path:"%P%N"
path26=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic26=0
menu26=블레임(변경한사람보기)
button27=
iconic27=0
button28=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,19
cmd28=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param28=/command:settings
path28=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin
iconic28=0
menu28=환경설정
button29=
iconic29=0
button30=
iconic30=0
button31=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,7
cmd31=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param31=/command:cleanup /path:"%P"
path31=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic31=0
menu31=예비
button32=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,7
cmd32=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param32=/command:cleanup /path:"%P"
path32=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic32=0
menu32=예비
button33=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,7
cmd33=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param33=/command:cleanup /path:"%P"
path33=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic33=0
menu33=예비
button34=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,7
cmd34=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param34=/command:cleanup /path:"%P"
path34=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic34=0
menu34=예비
button35=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,7
cmd35=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param35=/command:cleanup /path:"%P"
path35=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic35=0
menu35=예비
button36=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe,7
cmd36=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\TortoiseProc.exe
param36=/command:cleanup /path:"%P"
path36=%COMMANDER_DRIVE%\Win-Dev\Svn\TortoiseSVN\bin\
iconic36=0
menu36=예비

 

그리고 버튼바를 메뉴타입으로 등록하면 더욱 사용하기 편리하다.

 

실제 사용은 토탈커맨더로 svn저장소파일이 있는곳으로 이동하여 해당 기능을 수행하면 현재 토커에 표시된 경로를 기준으로 기능이 동작한다.

가령 e:\Source\bulker\Common\  폴더에 커밋하거나 업데이트 할 데이터가 있다면 그곳으로 이동후 해당 기능을 이용하면 된다.

 

Tortoise.bar 파일의 내용을 보면 알수 있듯이 TortoiseProc.exe 가 주요 기능을 다 가지고 있으며 실행파라메터에따라 각각의 기능을 수행하도록 되어있다.

 

굳이 토탈커맨더가 아니라 별도의 래퍼프로그램을 배치파일이나 간단한 스크립트 언어로도 제작하여 활용이 가능하다.

거북이 SVN의 도움말을 보면 아래의 내용이 나와있으니 참고하여 만들면 되겠다.

 

처음에 실행시 UI가 영문으로 나올경우 환경설정메뉴를 통해서 한글로 바꿔주면 이후에는 한글로 UI가 표시된다.


Automating TortoiseSVN

Table of Contents

D.1. TortoiseSVN Commands
D.2. TortoiseIDiff Commands

Since all commands for TortoiseSVN are controlled through command line parameters, you can automate it with batch scripts or start specific commands and dialogs from other programs (e.g. your favourite text editor).

Important

Remember that TortoiseSVN is a GUI client, and this automation guide shows you how to make the TortoiseSVN dialogs appear to collect user input. If you want to write a script which requires no input, you should use the official Subversion command line client instead.

D.1.TortoiseSVN Commands

The TortoiseSVN GUI program is called TortoiseProc.exe. All commands are specified with the parameter /command:abcd where abcd is the required command name. Most of these commands need at least one path argument, which is given with /path:"some\path". In the following table the command refers to the /command:abcd parameter and the path refers to the /path:"some\path" parameter.

Since some of the commands can take a list of target paths (e.g. committing several specific files) the /path parameter can take several paths, separated by a * character.

TortoiseSVN uses temporary files to pass multiple arguments between the shell extension and the main program. From TortoiseSVN 1.5.0 on and later, /notempfile parameter is obsolete and there is no need to add it anymore.

The progress dialog which is used for commits, updates and many more commands usually stays open after the command has finished until the user presses the OK button. This can be changed by checking the corresponding option in the settings dialog. But using that setting will close the progress dialog, no matter if you start the command from your batch file or from the TortoiseSVN context menu.

To specify a different location of the configuration file, use the parameter /configdir:"path\to\config\directory". This will override the default path, including any registry setting.

To close the progress dialog at the end of a command automatically without using the permanent setting you can pass the /closeonend parameter.

  • /closeonend:0 don't close the dialog automatically

  • /closeonend:1 auto close if no errors

  • /closeonend:2 auto close if no errors and conflicts

  • /closeonend:3 auto close if no errors, conflicts and merges

  • /closeonend:4 auto close if no errors, conflicts and merges for local operations

The table below lists all the commands which can be accessed using the TortoiseProc.exe command line. As described above, these should be used in the form /command:abcd. In the table, the /command prefix is omitted to save space.

List of available commands and options

Command Description
:about Shows the about dialog. This is also shown if no command is given.
:log Opens the log dialog. The /path specifies the file or folder for which the log should be shown. Three additional options can be set: /startrev:xxx, /endrev:xxx and /strict
:checkout Opens the checkout dialog. The /path specifies the target directory and the /url specifies the URL to checkout from.
:import Opens the import dialog. The /path specifies the directory with the data to import.
:update Updates the working copy in /path to HEAD. If the option /rev is given then a dialog is shown to ask the user to which revision the update should go. To avoid the dialog specify a revision number /rev:1234. Other options are /nonrecursive and /ignoreexternals.
:commit Opens the commit dialog. The /path specifies the target directory or the list of files to commit. You can also specify the /logmsg switch to pass a predefined log message to the commit dialog. Or, if you don't want to pass the log message on the command line, use /logmsgfile:path, where path points to a file containing the log message. To pre-fill the bug ID box (in case you've set up integration with bug trackers properly), you can use the /bugid:"the bug id here" to do that.
:add Adds the files in /path to version control.
:revert Reverts local modifications of a working copy. The /path tells which items to revert.
:cleanup Cleans up interrupted or aborted operations and unlocks the working copy in /path.
:resolve Marks a conflicted file specified in /path as resolved. If /noquestion is given, then resolving is done without asking the user first if it really should be done.
:repocreate Creates a repository in /path
:switch Opens the switch dialog. The /path specifies the target directory.
:export Exports the working copy in /path to another directory. If the /path points to an unversioned directory, a dialog will ask for an URL to export to the directory in /path.
:merge Opens the merge dialog. The /path specifies the target directory. For merging a revision range, the following options are available: /fromurl:URL, /revrange:string. For merging two repository trees, the following options are available: /fromurl:URL, /tourl:URL, /fromrev:xxx and /torev:xxx. These pre-fill the relevant fields in the merge dialog.
:mergeall Opens the merge all dialog. The /path specifies the target directory.
:copy Brings up the branch/tag dialog. The /path is the working copy to branch/tag from. And the /url is the target URL. You can also specify the /logmsg switch to pass a predefined log message to the branch/tag dialog. Or, if you don't want to pass the log message on the command line, use /logmsgfile:path, where path points to a file containing the log message.
:settings Opens the settings dialog.
:remove Removes the file(s) in /path from version control.
:rename Renames the file in /path. The new name for the file is asked with a dialog. To avoid the question about renaming similar files in one step, pass /noquestion.
:diff Starts the external diff program specified in the TortoiseSVN settings. The /path specifies the first file. If the option /path2 is set, then the diff program is started with those two files. If /path2 is omitted, then the diff is done between the file in /path and its BASE. To explicitly set the revision numbers use /startrev:xxx and /endrev:xxx. If /blame is set and /path2 is not set, then the diff is done by first blaming the files with the given revisions.
:showcompare

Depending on the URLs and revisions to compare, this either shows a unified diff (if the option unified is set), a dialog with a list of files that have changed or if the URLs point to files starts the diff viewer for those two files.

The options url1, url2, revision1 and revision2 must be specified. The options pegrevision, ignoreancestry, blame and unified are optional.

:conflicteditor Starts the conflict editor specified in the TortoiseSVN settings with the correct files for the conflicted file in /path.
:relocate Opens the relocate dialog. The /path specifies the working copy path to relocate.
:help Opens the help file.
:repostatus Opens the check-for-modifications dialog. The /path specifies the working copy directory.
:repobrowser Starts the repository browser dialog, pointing to the URL of the working copy given in /path or /path points directly to an URL. An additional option /rev:xxx can be used to specify the revision which the repository browser should show. If the /rev:xxx is omitted, it defaults to HEAD. If /path points to an URL, the /projectpropertiespath:path/to/wc specifies the path from where to read and use the project properties.
:ignore Adds all targets in /path to the ignore list, i.e. adds the svn:ignore property to those files.
:blame

Opens the blame dialog for the file specified in /path.

If the options /startrev and /endrev are set, then the dialog asking for the blame range is not shown but the revision values of those options are used instead.

If the option /line:nnn is set, TortoiseBlame will open with the specified line number showing.

The options /ignoreeol, /ignorespaces and /ignoreallspaces are also supported.

:cat Saves a file from an URL or working copy path given in /path to the location given in /savepath:path. The revision is given in /revision:xxx. This can be used to get a file with a specific revision.
:createpatch Creates a patch file for the path given in /path.
:revisiongraph Shows the revision graph for the path given in /path.
:lock Locks a file or all files in a directory given in /path. The 'lock' dialog is shown so the user can enter a comment for the lock.
:unlock Unlocks a file or all files in a directory given in /path.
:rebuildiconcache Rebuilds the windows icon cache. Only use this in case the windows icons are corrupted. A side effect of this (which can't be avoided) is that the icons on the desktop get rearranged. To suppress the message box, pass /noquestion.
:properties Shows the properties dialog for the path given in /path.


Examples (which should be entered on one line):

TortoiseProc.exe /command:commit
                 /path:"c:\svn_wc\file1.txt*c:\svn_wc\file2.txt"
                 /logmsg:"test log message" /closeonend:0

TortoiseProc.exe /command:update /path:"c:\svn_wc\" /closeonend:0

TortoiseProc.exe /command:log /path:"c:\svn_wc\file1.txt"
                 /startrev:50 /endrev:60 /closeonend:0

크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 벌커덕스
필자는 토탈커맨더(이전 윈도우커맨더)를 사용한지 10년도 훨씬 넘은듯하다..
여러가지 기능은 과히 토커 없으면 컴맹된다 할정도로 막강한 기능과 플러그인을 자랑한다.
그리고 그전에도 계속 사용하게 되었던 계기중에 하나가 토탈커맨더는 실행환경을 그다지 타지 않기 때문이라고 본다. 

즉 쉽게말해 Copy & Run 이 가능하다는 소리..
예전에 Windows 3.x 시절엔 Wincmd.exe 를 쉘로 해놓고 써도 무방할 정도였으니 말이다.. (지금은 explorer.exe 가 메인 쉘이지만..)

어쨋던 토커를 사용하면서 두가지만 알아두면 포터블로 사용하는데 전혀 문제가 없다..

아래 두가지를 확인해보자..
 1. Ini 파일 ini 파일은 크게 두개가 젤 중요하다.
하나는 WINCMD.INI  또하나는 WCX_FTP.INI 이다.
플러그인이나 기타의 ini 파일이 더 있을수 있지만 wincmd.ini 파일이 제일 중요하다고 볼수있다.
그럼 문제는 이 ini 파일을 어디에서 읽어올까? 하는것이다.
아래의 레지스트리 내용을 보자

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Windows Commander]
"IniFileName"=".\\wincmd.ini"
"FtpIniName"=".\\wcx_ftp.ini"

[HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander]
"IniFileName"=".\\wincmd.ini"
"FtpIniName"=".\\wcx_ftp.ini"


;[HKEY_CURRENT_USER\Software\Ghisler\Total Commander]
;"InstallDir"="D:\\win-util\\wincmd"


;by bulker

필자는 위의 레지스트리 내용을  wincmdini.reg 파일로 저장해놓고 토커실행전에 한번 등록을 해주고 사용한다. 물론 포터블이라면 이동시 이런걸 등록해주는 것 자체가 귀찮은 일이지만 주로 쓰는 데스크탑에서는 이렇게 등록을 해서 사용한다.

- 또하나의 방법은 bat 파일로 기동시키는것..
totalcmd.exe 는실행 파라메터 지정이 가능하다.
_tc.bat 파일을 만들어서 아래의 한줄을 넣고 _tc.bat로 실행을 시키면 된다.
start TOTALCMD.EXE /I=.\wincmd.ini /F=.\wcx_ftp.ini

이것으로 ini를 불러오는 문제는 해결...
 2. 환경변수  그다음에 확인할것이 버튼바나 메뉴등에서 사용하는 어플리케이션의 경로문제다.
USB 에 복사해서 사용하다보면 USB를 꼽는 시스템마다 드라이브레터가 변경되고 그렇다면 등록해둔 버튼바나 메뉴가 정상적으로 동작을 하지 않는다..
그래서 토커개발자는 환경변수를 토커실행시 등록하고 종료시 해제하는 기능을 넣어 두었다.

토커 실행전에 명령프롬프트에서 set 을 쳐보면 등록된 환경변수가 나타난다.
그러나 토커에 관련된것은 없다.
토커 실행후 다시 set을 실행하면
COMMANDER_DRIVE
COMMANDER_INI
COMMANDER_PATH
의 3가지 환경변수가 추가되어있는것을 알수 있다.

토커폴더 하위에 program/myapp.exe 라는 것을 가지고 있다면 명령 등록시
%COMMAND_PATH%/program/myapp.exe  라고 지정해두면
어떤 드라이브 레터를 받아도 구동이 가능하다.
마찬가지로 토커가 실행된 드라이브 레터를 알기위해선 %COMMAND_DRIVE% 로 이용할수 있다.



위의 두가지만 잘 활용하면 포터블로 토커를 돌리는것은 거저먹기라고 할수 있겠다.

토커의 여러 기능은 온라인상에서 쉽게 찾을수 있다..

저작자 표시 비영리 동일 조건 변경 허락
크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 벌커덕스

칩 지니어스 (Chip Genius) V3.00

 

중국에서 만든 USB 컨트롤러 확인프로그램.

자신의 USB 메모리가 어떤 컨트롤러를 사용했는지 알아보는 프로그램이다.

이프로그램을 통해 컨트롤러를 확인할 수 있고 CD영역 만드는 툴, 초기화툴 등 컨트롤러에 관련한 여러 정보를 검색할 수 있다.

 

칩 데이터베이스는 2009-05-11 일자까지 업데이트 되어있으며 바로가기를 통해 해당 웹페이지로 점프가 가능하다.

 

한가지 단점이라면 중국어로 되어있다는 것.. 해당 컨트롤러의 유틸리티는 대충 통밥으로 다운로드 받을수 있다.

 

 



크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 벌커덕스

예전에 네~~ 블로그에 썻던글입니다.

지금은 3.0.2 까지 나와있군요...


----------------------------------------------------------------------------------------------



작년인가?부터 아주 요긴하게 사용하는 사이트다.

무료로 DNS 서버를 운영하게 해주는 곳이다. 당췌 아무리 둘러봐도 뭘로 돈벌어 먹구살까.. 땅파서 먹구사나~ 싶을정도로 쓸만한 곳이였다.

 

서버 세팅하고 ip 포워딩시키고 집에서도 컴켜서 바로 서버로 쓰고..

 

클라이언트가 1.x 버전은 달랑 실행파일 하나로 깔끔하게 잘 동작했는데 2.x오면서 업데이트도 잦아지고 덩치도 커지고 UI도 그전에비해 복잡해졌다.

설치안하고 바로 실행해서 서버 깔고 그냥 돌려놓고 사용했엇는데....

사실 클라이언트라고 해바야 서버접속해서 ip만 알려주면 그닥 할일이 없을텐데 말이다....

 

 

 

오늘 회사에서도 쓸려고 좀 만지작거리는데  (dnsever 클라이언트 프로그램 포터블로 돌리기) 접속몇번하다가 컴터 전원꺼졌다가 다시 들어가니 사이트 접속이 안된다. 먹통 된거다... 몇시간후 다시 들어가보니 이렇게 뜨더군...

 

 


 
무료사이트니 망정이지 유료사이트였으면 엄청나게 큰일아닌가...
 
그래도 여전히 사용할거다..
 
 
설치 안하고 사용하려면 레지 세팅을 좀 해줘야한다.
아래는 레지스트리 파일 내용이다. 복사해서 reg 파일 만들자..
 
Windows Registry Editor Version 5.00
;편집기에서 %cur_path%를 변경
[HKEY_LOCAL_MACHINE\SOFTWARE\DNSEver\DNSEverDynamicClient]
"isAutoStart"="no"
"ProgramPath"="D:\\Win-App\\Comm\\DNSEverDynamicClient2.3\\DNSEverDC.exe"
"ProgramFolder"="D:\\Win-App\\Comm\\DNSEverDynamicClient2.3"
"UpdateManagerPath"="D:\\Win-App\\Comm\\DNSEverDynamicClient2.3\\util\\DNSEverUM.exe"
"UpdateManagerFolder"="D:\\Win-App\\Comm\\DNSEverDynamicClient2.3\\util"
"ServiceManagerPath"="D:\\Win-App\\Comm\\DNSEverDynamicClient2.3\\util\\DNSEverSM.exe"
"ServiceManagerFolder"="D:\\Win-App\\Comm\\DNSEverDynamicClient2.3\\util"
"LogFolder"="D:\\Win-App\\Comm\\DNSEverDynamicClient2.3\\logs"
"isAutoUpdate"="no"
"IPUpdateType"="detect"
"AutoUpdatePeriod"="1"
"IPUpdatePeriod"="600"
"isAutoLogin"="yes"
"UserID"="아이디"
"AuthCode"="인증코드"
"isVisible"="yes"
"isNTService"="no"
---------------------------------------------
위에서 경로부분 D:\\Win-App\\Comm 를 수정해주고 레지 올리면 된다.
상대경로로 레지를 변경하면 어떨까 해봣는데 프로그램에서 current directory를 제대로 안가지고 있는듯하다. 그래서 안먹는다.
 
첨부파일은 압축풀고 쓰면된다.
 
참고로 현재 최신버전은 2.5 인데 올린것은 2.3 이다. 어차피 기본기능이야 ~~~ 할테니 .. 궁금하면 가서 다운받아 사용해보자..
 
참. 회원가입하고 도메인은 미리 만들어야한다.
도메인을 가지고 있다면 그걸 써도 되고 없으면 dnsever에서 제공하는 도메인중 하나를 골라 써도 무방하다.
 
또 하나 좋은점은 도메인 전파 : 절라 빠르다..  dnsever에서 만 변경하니 빠를수 밖에 없겠지만
기존의 네임서버 바꾸는거하고게임도 안된다.
서버 다운되는일만 앞으로도 없었으면 한다.








저작자 표시 비영리 동일 조건 변경 허락
크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 벌커덕스
한도 0

도깨비뉴스. http://www.dkbnews.com/?mn=news&mode=read&nidx=8262&dom=8...

Unity3D 일일 자동 빌드 하기

현재 프로젝트가 Unity3D를 이용하여 개발을 진행하다 보니 일일 자동 빌드의 필요성이 있어 해당 기능을 적용하였다. 우선 자동 빌드를 하기 위한 시스템에는 유니티 에디터가(빌더,컴파일러) 설치되어 있어야 한다. SCM은 S..

어쩌다가 찾아볼일 생기는 메인보드 비프음 판독하기

집에 컴퓨터가 많다보니 이런저런 수리할일이 생기는데 비프음가지고 장애유무를 판단해야한다. 그때마다 구글링하기도 불편하고.. 바이오스 종류별로 잘 정리해논 사이트가 있다. 이거하나면 비프음이 뭔뜻인지 알수 있다. http://w..

EXCEL VBA - 다른파일 스크립트 호출 및 종료

VBA코드의 재사용및 관리를 위하여 해당 데이터가 들어있는 엑셀에서는 비지니스 로직이 들어있는 코드를 생성하지 않는다. 하나의 엑셀파일에 모든 VBA코드를 작성/관리하고 데이터가 있는 엑셀파일에서 해당 기능을 호출하는 것. 이..

ER Studio Entity Name to Clipboard Sample Code

Sub Main Dim mdl As Model Dim ent As Entity Dim attr As AttributeObj Dim strResult As String Set mdl = DiagramManager.ActiveDi..

Unity3D 일일 자동 빌드 하기
스마트폰에 교통신용카드 이식하면 지갑이 필요없다.
스마트폰에 교통신용카드 이식하면 지갑이 필요없다.
스마트폰에 교통신용카드 이식하면 지갑이 필요없다.
스마트폰에 교통신용카드 이식하면 지갑이 필요없다.