태터데스크 관리자

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

태터데스크 메시지

저장하였습니다.

티스토리 툴바


집에 컴퓨터가 많다보니 이런저런 수리할일이 생기는데 비프음가지고 장애유무를 판단해야한다.
그때마다 구글링하기도 불편하고..

바이오스 종류별로 잘 정리해논 사이트가 있다. 이거하나면 비프음이 뭔뜻인지 알수 있다.

http://www.5starsupport.com/info/beep_codes.htm 


AMI (American Megatrends') BIOS

Beep Codes

Message

one short DRAM refresh failure (Problem with memory)
two short Parity circuit failure
three short Base 64K RAM failure
four short System Timer failure
five short Processor failure
six short Keyboard Controller / Gate A20 failure
seven short Virtual Mode Exception error
eight short Display Memory Read/Write failure (fault with video card)
nine short ROM BIOS Checksum error (fault with BIOS chip)
ten short CMOS Shutdown Read/Write error
eleven short Cache memory
one long Passed (no errors)
one long, two short Video failure
one long, three short Base / Extended Memory failure
one long, eight short Display / Retrace Test failure

AST Research BIOS

Beep Codes 

Message 

one short Low level processor verification test failed (POST 1)
two short Clearing keyboard controller buffers failed (POST 2)
three short Keyboard controller reset failed (POST 3)
four short Low level keyboard controller interface test (POST 4) 
five short Reading data from keyboard controller failed (POST 5) 
six short System board support chip initialization failed (POST 6)
seven short Processor register read/write verify test failed (POST 7) 
eight short CMOS timer initialization failed (POST 8) 
nine short ROM BIOS checksum test failed (POST 9) 
ten short Initialize primary video (POST 10) 
eleven short 8254 timer channel 0 test failed (POST 11) 
twelve short 8254 timer channel 1 test failed (POST 12) 
thirteen short 8254 timer channel 2 test failed (POST 13) 
fourteen short CMOS power-on and time test failed (POST 14) 
fifteen short CMOS shutdown byte test failed (POST 15) 
one long DMA channel 0 test failed (POST 16)
one long, one short DMA channel 1 test failed (POST 17) 
one long, two short DMA page register test failed (POST 18) 
one long, three short Keyboard controller interface test failed (POST 19) 
one long, four short Memory refresh toggle test failed (POST 20) 
one long, five short First 64 KB memory test failed (POST 21) 
one long, six short Setup interrupt vector table failed (POST 22) 
one long, seven short Video initialization failed (POST 23) 
one long, eight short Video memory test failed (POST 24) 

Award BIOS 

Beep Codes

Message 

one short Passed (no errors) 
two short Any non-fatal error 
one long, two short Video failure 
one long, three short Keyboard Controller failure (applies to 286, 386 and 486) 

Compaq BIOS

Beep Codes

Message 

one short Indicates that the system is booting properly
two short General BIOS error - remedy unknown
one short, two long Memory Module
one long, one short BIOS ROM checksum error
one long, two short Video error
7 Beeps: one long, one short, one long, one short, pause, one long, two short AGP Video
one long continuous tone Memory Module

IBM BIOS 

Beep Codes

Message 

none Power Supply or System Board failure (possible short) 
one short  Passed (no errors) 
one short (blank screen) Video error (check cable) 
one short (no boot) Floppy Drive error 
two short Configuration Error (displayed on screen) 
repeating short Power Supply or System Board failure 
continuous Power Supply or System Board / Keyboard stuck 
one long, one short System Board failure 
one long, two short Video (Mono/CGA) failure (check cable) 
one long, three short  Video (EGA) failure (check cable) 
three long Keyboard Card error 

Mylex BIOS

Beep Codes

Message 

one Normal boot
two Video adapter error
three Keyboard controller error
four Keyboard error
five PIC 0 error
six PIC 1 error
seven DMA page register error
eight RAM refresh error
nine RAM data error
ten RAM parity error
eleven DMA controller 0 error
twelve CMOS RAM error
thirteen DMA controller 1 error
fourteen CMOS RAM battery error
fifteen CMOS RAM checksum error
sixteen BIOS ROM checksum error

Mylex 386 BIOS

Beep Codes

Message 

one long Normal boot
two long Video adapter error
one long, one short, one long Keyboard controller error
one long, two short, one long Keyboard error
one long, three short, one long PIC 0 error
one long four short, one long PIC 1 error
one long, five short, one long DMA page register error
one long, six short, one long RAM refresh error
one long, seven short, one long RAM data error
one long, eight short, one long RAM parity error
one long, nine short, one long DMA controller 0 error
one long, ten short, one long CMOS RAM error
one long, eleven short, one long DMA controller 1 error
one long, twelve short, one long CMOS RAM battery error
one long, thirteen short, one long CMOS RAM checksum error
one long fourteen short, one long BIOS ROM checksum error

Phoenix BIOS 

Beep Codes 

Message 

one, one, three CMOS Read/Write 
one, one, four ROM BIOS Checksum failure 
one, two, one Programmable Interval Timer failure 
one, two, two DMA Initialisation failure 
one, two, three DMA Page Register Read/Write failure 
one, three, one RAM Refresh Verification error 
one, three, three First 64K RAM Chip/Data Line failure 
one, three, four First 64K RAM Odd/Even Logic 
one, four, one First 64K RAM: Address Line 
one, four, two First 64K RAM: Parity failure 
one, four, three Fail-Safe Timer Feature (EISA only) 
one, four, four Software NMI Port failure (EISA only) 
two (followed by various combinations) First 64K RAM Chip/Data Line failure (combinations indicate which bit) 
three, one, one Slave DMA Register failure 
three, one, two Master DMA Register failure 
three, one, three Master Interrupt Mask Register failure 
three, one, four Slave Interrupt Mask Register failure 
three, two, four Keyboard Controller failure 
three, three, four Display Memory failure 
three, four, one Display Retrace failure 
three, four, two Video ROM search proceeding 
four, two, one Timer Tick failure 
four, two, two Shutdown failure 
four, two, three Gate A20 failure 
four, two, four Unexpected Interrupt in Protected Mode 
four, three, one RAM test above 64K failure 
four, three, two/three Programmable Interval Timer, Channel 2 failure 
four, three, four Realtime Clock failure 
four, four, one Serial Port error 
four, four, two Parallel Port error 
four, four, three Math Co-processor failure 
(tone) one, one, two System Board Select 
(tone) one, one, three Extender CMOS RAM 

Quadtel BIOS

Beep Codes

Message 

one short Indicates that the system is booting properly
two short CMOS IC error
one long, two short Video error
one long, three short Peripheral controller error
저작자 표시 비영리 동일 조건 변경 허락
크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 벌커덕스
VBA코드의 재사용및 관리를 위하여 해당 데이터가 들어있는 엑셀에서는 비지니스 로직이 들어있는 코드를 생성하지 않는다.
하나의 엑셀파일에 모든 VBA코드를 작성/관리하고 데이터가 있는 엑셀파일에서 해당 기능을 호출하는 것.

이전에는 데이터엑셀이 열릴때 스크립트들어있는 엑셀을 같이 열도록 매크로를 지정하였으나
스크립트가 필요한경우만 스크립트엑셀파일을 로딩. 작업후 닫도록 함.



1. 폼에 양식을 이용해서 버튼 생성
2. 버튼에 매크로를 생성하여 지정
3. 매크로에 아래 코드 수정하여 기입.

Sub Macro1()
    'Application.Run ThisWorkbook.Path & "\..\테이블관리\VBA_Script.xls!Menu"

    'Application.Run "'D:\Work\테이블관리\VBA_Script.xls'!Menu"
    
    Dim strPathName As String
    Dim strFIleName As String
    Dim strMethod As String
    Dim varParam1 As Variant
    
    strPathName = "D:\Work\테이블관리\" 'ActiveWorkbook.Path
    strFIleName = "VBA_Script.xls"
    strMethod = "buildscript"
    varParam1 = 1
    Application.Run "'" & strPathName & strFIleName & "'!" & strMethod, varParam1
    'ActiveWindow.ActivateNext
    Windows(strFIleName).Activate
    ActiveWindow.Close

End Sub




저작자 표시 비영리 동일 조건 변경 허락
크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 벌커덕스
Sub Main
Dim mdl As Model
Dim ent As Entity
Dim attr As AttributeObj
Dim strResult As String

Set mdl = DiagramManager.ActiveDiagram.ActiveModel
Set sm = mdl.ActiveSubModel
strResult =""

For Each ent In mdl.Entities

strResult = strResult &  ent.EntityName & vbCrLf
For Each attr In ent.Attributes
strResult = strResult & vbTab & attr.ColumnName & vbCrLf 'vbTab &" [" & attr.Datatype & "]" & vbCrLf
Next
strResult = strResult &  vbCrLf
    Next

Clipboard strResult
MsgBox "Set Clipboard"
End Sub

저작자 표시 비영리 동일 조건 변경 허락
크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 벌커덕스
TAG code, ER, sample
원래 윈도에서는 루트드라이브가 $ 기호가 붙여 기본공유로 설정이 되어있는데 이것이 활성화가 되지 않아 관리가 불편할때가 있다.  활성화 위해서는 

레지스트리에 아래 키값 추가. 재부팅 안해도 됨.

 

더보기

저작자 표시 비영리 동일 조건 변경 허락
크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 벌커덕스
파워컴퓨팅2011/08/01 11:36
매크로의 ADODB Stream 을 이용.

---------------------------------------------------------
Sub test1()

  Set fs = CreateObject("ADODB.Stream")
    fs.Type = 2
    fs.Charset = "utf-8"
    fs.Open
    
    For i = 1 To 10
        For j = 1 To 10
            fs.writetext Cells(i, j) & ","
        Next
        
        fs.writetext vbCrLf
    Next

    fs.SaveToFile "d:\temp\excel_utf8_1.csv", 2
 
End Sub
------------------------------------------------------

위의 예제중 행과 열의 맥스치는 적당히 조절..  마지막 태그를 두어도 상관없음.


 
저작자 표시 비영리 동일 조건 변경 허락
크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 벌커덕스
TAG excel, UTF-8, VBA
Bcd 저장소에 리얼모드 부팅 지정하기

Bootmgr 과 grub 을 입맛대로 사용하기 위해.

bcdedit /create /d "grldr.mbr " /application bootsector
bcdedit /set <생성된GUID> device partition=<bcd저장드라이브 ex:H:>
bcdedit /set <생성된GUID>%%B path \grldr.mbr
bcdedit /displayorder <생성된GUID> /addlast

필요한 파일
Grub4dos 에서 grldr.mbr, grldr, menu.lst 
Grldr.mbr 파일과 grldr 파일은 버전이 일치해야함. 다르면 뻑남.
Menu.lst 는 입맛대로 편집.

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

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

이 메시지는 컴퓨터에 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 벌커덕스
예전에 사용하던 월페이퍼는 모니터가 1280 밖에 지원을 하지 않아서 1280x1024 짜리 그림을 배경으로 사용했지만
지금 사용하는건 1600 x 1200 짜리라 새로 만들었다..

아이폰4에 맞는 해상도를 추가하였다.  역시 아이폰 해상도 짱...
배경화면으로 깔아두면 화면 디자인이라던지 크기 참고할때 사용하기 좋다.
타일방식으로 세팅하는것이 좋다.


저작자 표시 비영리 동일 조건 변경 허락
크리에이티브 커먼즈 라이선스
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 벌커덕스
한도 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 일일 자동 빌드 하기
스마트폰에 교통신용카드 이식하면 지갑이 필요없다.
스마트폰에 교통신용카드 이식하면 지갑이 필요없다.
스마트폰에 교통신용카드 이식하면 지갑이 필요없다.
스마트폰에 교통신용카드 이식하면 지갑이 필요없다.