Zasfe
Zasfe's memory
Zasfe
전체 방문자
561,025
오늘
0
어제
23
  • 분류 전체보기 (143)
    • 이야기 (50)
    • 뜻알기 (1)
    • 컴퓨터 (91)

인기 글

  • 리눅스에서 오라클 실행하기
    2014.07.04
  • Scripting.Dictionary 사용하기..1
    2007.11.14
  • 배치파일활용01 - 날짜단위 폴더,파일 만들기
    2009.01.05
    배치파일활용01 - 날짜단위 폴더,파일 만들기
  • 정관과 약관의 차이
    2009.03.26
  • FSO - CreateTextFile - 파일 만들기
    2007.02.01

최근 글

  • 워나크라이(WannaCry) 대란
    2017.05.15
  • 이벤트로그에 10016 DistributedCOM 가 발생⋯
    2014.10.07
    이벤트로그에 10016 DistributedCOM 가 발생⋯
  • 리눅스에서 오라클 실행하기
    2014.07.04
  • CentOS 5.x 설치후 X Window 설치 하기
    2014.06.24
  • CentOS 4.x Yum repo 재설정 방법
    2014.06.20

태그

  • 저장프로시저
  • nslookup
  • VBScript
  • MSSQL2K
  • webshell
  • webhacking
  • MSSQL
  • Autoit
  • cmd
  • 홈페이지 보안 강화도구
  • webknight2.1
  • web.config
  • webknight 2.2
  • Security
  • ASP
  • 생각
  • IIS7
  • webknight
  • rsync
  • webknight2.2
  • backup
  • Function
  • 보안
  • Skin
  • Microsoft Windows 2000 Scripting Guide
  • Castle
  • error
  • 캐슬
  • IIS
  • 배치파일
hELLO · Designed By 정상우.
Zasfe

Zasfe's memory

컴퓨터

[ Autoit / CmdLine ] 커맨드라인을 입력받아 처리하는 함수의 일부입니다.

2008. 9. 4. 13:31
Func _ParseCmdLine()
    Local $intCmdTotal = _GetThisArg(0
)
    Local $intCmdNum =
1
    Local
$strCmdCode
    While $intCmdNum <=
$intCmdTotal
        $strCmdCode = _GetThisArg($intCmdNum
)
        Switch
$strCmdCode
            Case '-p',
'--PATH'
                $intCmdNum = $intCmdNum +
1
                $SourceRepositoryPath
= _GetThisArg($intCmdNum)
            Case '-e', '--EXT'
                $intCmdNum
= $intCmdNum +1
                $FileExt = _GetThisArg($intCmdNum
)
       
EndSwitch
        $intCmdNum = $intCmdNum +
1
   
WEnd
EndFunc
 
;==>_ParseCmdLine

Func _GetThisArg($_n
)
    If $CmdLine[0] = 0 or $CmdLine[0] < $_n then Return
""
    Return $CmdLine[$_n
]
EndFunc
 
;==>_GetThisArg

'컴퓨터' 카테고리의 다른 글

webknight 2.2  (0) 2008.09.07
[ Autoit / MSSQL ] 데이터베이스를 사용하고자 할경우  (0) 2008.09.04
Rsync 사용하기  (2) 2008.08.25
Rsync 사용시 에러 발생  (0) 2008.08.25
[해킹] GoogleBot 으로 위장한 웹해킹 시도  (0) 2008.06.10
    '컴퓨터' 카테고리의 다른 글
    • webknight 2.2
    • [ Autoit / MSSQL ] 데이터베이스를 사용하고자 할경우
    • Rsync 사용하기
    • Rsync 사용시 에러 발생
    agument, Autoit, CmdLine, command prompt, Function
    Zasfe
    Zasfe
    느낌. 기억
    댓글쓰기
    다음 글
    [ Autoit / MSSQL ] 데이터베이스를 사용하고자 할경우
    이전 글
    Rsync 사용하기

    티스토리툴바