Full text search for "URL"
- C++/(Windows)파일 처리 . . . . 31 matches
굵게(Bold)처리한 함수들은 자주 쓰일법한 녀석들이다.</p><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 15px; font-family: 돋움, Dotum, AppleGothic, sans-serif; color: rgb(138, 138, 138); font-size: 12px;">사용하기 위해서는 shlwapi.h를 include하고 shlwapi.lib를 링크해야 한다.</p><p id="more4_0" class="moreless_top" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 18px; border: 0px; line-height: 15px; font-family: 돋움, Dotum, AppleGothic, sans-serif; text-decoration: underline; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconLess.gif); color: rgb(138, 138, 138); font-size: 12px; background-position: 0% 0%; background-repeat: no-repeat no-repeat;"><span style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3; cursor: pointer;"></span></p><div id="content4_0" class="moreless_content" style="margin: 10px 0px; padding: 0px; border: 0px; line-height: 15px; font-family: 돋움, Dotum, AppleGothic, sans-serif; color: rgb(138, 138, 138); font-size: 12px;"><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathAddBackslash( LPTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszPath </i>);</font></strong></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Adds a backslash to the end of a string to create the correct syntax for a path. If the source path already has a trailing backslash, no backslash will be added.</font>
lpszPath는 MAX_PATH크기(또는 그 이상)이라야 하며, lpszPath에 '\'를 더 붙일 수 없다면 NULL이 반환된다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathAddExtension( LPTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</i>, LPCTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszExtension </i>);</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Adds a file extension to a path string.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">파일 경로(pszPath)의 맨 뒤에 지정된 확장자를 붙여준다.
pszExtension이 NULL이라면 기본적으로 ".exe"가 붙는다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathAppend( LPTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</i>, LPCTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszMore </i>);</font></strong></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Appends one path to the end of another.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">두개의 경로 문자열 결합. pszPath에 pszMore를 붙여준다. 필요하다면 '\' 문자를 사용해 결합한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathBuildRoot( LPTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">szRoot</i>, int <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">iDrive </i>);</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Creates a root path from a given drive number.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">드라이브 식별 번호(iDrive)를 문자열 형(szRoot)으로 변환해 준다. 0 = a:\ 뭐 이런식이다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathCanonicalize( LPTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszDst</i>, LPCTSTR <i style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszSrc </i>);</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Canonicalizes a path.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">경로에 상대경로 지정문자 ( "./", "../")가 포함되어 있다면 이를 적절하게 처리해준다. lpszsrc="c:\\a\\b\\..\\c" temp_src="c:\\a\\b\\..\\c"라면 lpszDst = "c:\\a\\c"가 된다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathCombine( LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszDest</em>, LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszDir</em>, LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszFile</em> );</strong></font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Concatenates two strings that represent properly formed paths into one path; also concatenates any relative path elements.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">폴더 경로 + 파일경로로 구성해준다. lpszDest = lpszDir + lpszFile.
적절한 함수로군-ㅅ-ㅋㅋ</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">int PathCommonPrefix( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszFile1</em>, LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszFile2</em>, LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Compares two paths to determine if they share a common prefix. A prefix is one of these types: "C:\\", ".", "..", "..\\".</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">두 경로 pszFile1과 pszFile2에서 어디까지가 공통된 경로인지 조사하고, pszPath에 공통된 부분을 담아준다.
공통된 부분이 없다면 pszPath는 NULL로 설정된다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathCompactPath( HDC <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">hDC</em>, LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszPath</em>, UINT <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">dx</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Truncates a file path to fit within a given pixel width by replacing path components with ellipses.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">lpszPath에 포함된 경로 문자열을 dx pixel 크기에 출력하기 적절하게 잘라준다.
C:\p...\sample.txt</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathCompactPathEx( LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszOut</em>, LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszSrc</em>, UINT <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">cchMax</em>, DWORD <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">dwFlags </em>);</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Truncates a path to fit within a certain number of characters by replacing path components with ellipses.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">PathCompactPath와 유사하다. 다만, pixel단위가 아니라 최대 cchMax만큼 잘라낸다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">HRESULT PathCreateFromUrl( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszUrl</em>, LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em>, LPDWORD <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pcchPath</em>, DWORD dwReserved );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Converts a file URL to a Microsoft MS-DOS path.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">URL형태로 구성된 경로를 Windows 경로 형식으로 변환해 준다. file:///c:/test.txt = c:\test.txt.
또, 실제 URL(Web)이 아니라 Local File Url이라야 한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathFileExists( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</strong></font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines whether a path to a file system object such as a file or directory is valid.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 경로의 파일/폴더가 실제로 <font id="altools-findtxt" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3; background-color: rgb(255, 255, 0); font-size: 14px; font-weight: bold;">존재</font>하는지 검사한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathFindExtension( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pPath</em> );</strong></font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path for an extension.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">파일 경로에서 확장자를 찾아준다. (pPath에서 확장자가 시작되는 위치를 반환).</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathFindFileName( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pPath</em> );</strong></font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path for a file name.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">파일 경로에서 파일 이름을 찾아준다. (pPath에서 이름이 시작되는 위치를 반환).</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathFindNextComponent( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Parses a path for the next path component.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">다음 위치의 경로를 찾아준다. 어떤 경로에 대해 순자접근이 필요하다면 사용해볼 법 하다.
PathFindNextComponent( "windows\system32") = system32</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathFindOnPath( LPTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszFile</em>, LPCTSTR *<em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">ppszOtherDirs</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches for a file.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">파일을 검색한다. 만약 검색에 성공하면 pszFile에는 해당 파일의 전체 경로가 담겨져서 반환된다.
<span id="callbacknestfunnismcom381187" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3; width: 1px; height: 1px; float: right;"></span>주의: 여러개의 파일이 존재 하더라도, 첫번째로 검색된 파일의 경로만 반환한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPCTSTR PathFindSuffixArray( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em>, const LPCTSTR *<em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">apszSuffix</em>, int <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">iArraySize</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines whether a given file name has one of a list of suffixes.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">PathFindOnPath와 유사하다. 다만, apszSuffix를 통해 검색할 경로를 여러개 지정할 수 있다. (기본경로 검색은 하지 않는다.)
주의: 대소문자를 구분한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">LPTSTR PathGetArgs( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Finds the command line arguments within a given path.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">경로에 포함된 매개변수(argv)를 찾아준다.
PathGetArgs("c:\test.exe temp.txt /x") = "temp.txt /x"</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">UINT PathGetCharType( TUCHAR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">ch</em> );</strong></font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines the type of character in relation to a path.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">문자가 경로 문자열에 사용되면 어떤 의미인지 알려준다. 경로에 포함될 수 있는 문자인가? 경로 구분자('\')인가? 등등..
이 함수를 이용해서 경로에 사용할 수 있는 문자열인지를 검사할 수 있다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">int PathGetDriveNumber( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpsz</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path for a drive letter within the range of 'A' to 'Z' and returns the corresponding drive number.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 경로에 포함된 드라이브 문자(c:\) 의 식별 번호를 반환한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsContentType( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em>, LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszContentType</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines if a file's registered content type matches the specified content type. This function obtains the content type for the specified file type and compares that string with the pszContentType. The comparison is not case-sensitive.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 파일경로가(확장자만 넘겨줘도 된다;) 등록된 contents type과 일치하는지 검사한다.
PathIsContentType( "c:\temp.txt", "text/plain" ) = TRUE</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsDirectory( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</strong></font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Verifies that a path is a valid directory.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">실제로 존재하는 폴더인지 확인한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsDirectoryEmpty( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines whether a specified path is an empty directory.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">비어있는(안에 파일이나 서브 폴더가 없는) 폴더인지 확인한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsFileSpec( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path for any path-delimiting characters (for example, ':' or '\' ). If there are no path-delimiting characters present, the path is considered to be a File Spec path.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 경로가 파일명만으로 구성되어 있는지 조사한다.
주의: 파일명으로 사용할 수 없는 문자(/, :, * 등)가 들어있는가? 를 검사하는 함수가 아니다!!</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsHTMLFile( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszFile</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines if a file is an HTML file. The determination is made based on the content type that is registered for the file's extension.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 경로의 확장자가 HTML 유형인가를 검사한다.
한마디로, 레지스트리에 등록된 content type이 text/html이라면 TRUE. (.htm, .html, .xhtml ...)</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsLFNFileSpec( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszName</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines whether a file name is in long format.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 경로가 Long File Name spec에 적합한지 검사한다. (아마 쓸 일은 거의 없을듯 싶다 -_-;)</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsNetworkPath( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines whether a path string represents a network resource.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">경로가 네트워크 경로라면 TRUE. 단, 실제로 존재하는 네트워크 경로인가는 다른 얘기다!</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsPrefix( IN LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPrefix</em>, IN LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path to determine if it contains a valid prefix of the type passed by pszPrefix. A prefix is one of these types: "C:\\", ".", "..", "..\\".</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">경로가 pszPrefix로 시작되는가를 검사한다. 같은 드라이브에 있는 파일인지 검사할때 유용하다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsRelative( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">lpszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Searches a path and determines if it is relative.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">경로가 상대경로인지 검사한다.
PathIsRelative("temp.txt") = TRUE</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsRoot( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Parses a path to determine if it is a directory root.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">경로가 루트 폴더(드라이브 바로 밑)인지 검사한다.
PathIsRoot("c:\windows") = FALSE</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"><strong style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsSameRoot( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath1</em>, LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath2</em> );</strong></font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Compares two paths to determine if they have a common root component.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">pszPath1과 pszPath2가 같은 드라이브(루트폴더)에 있는지 검사한다.
PathIsSameRoot( "c:\test1\temp1.txt", "c:\test2\temp2.txt" ) = TRUE</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsSystemFolder( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em>, DWORD <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">dwAttrb</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines if an existing folder contains the attributes that make it a system folder. Alternately, this function indicates if certain attributes qualify a folder to be a system folder.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">제시된 경로가 시스템 폴더인지 검사한다.</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsUNC( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines if the string is a valid Universal Naming Convention (UNC) for a server and share path.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">UNC(공유)경로인지 확인한다.
PathIsUNC("server\folder") = FALSE</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">PathIsUNCServer( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines if a string is a valid Universal Naming Convention (UNC) for a server path only.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">PathIsUNC와 다른점은 pszPath가 서버이름만으로 구성되어야 한다는 점이다. 주의할 점은, pszPath가 "\\"만으로 된 경우도 TRUE라는 점이다.
PathIsUNCServer("\\server\folder") = FALSE</p></blockquote><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#0000ff" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">BOOL PathIsUNCServerShare( LPCTSTR <em style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">pszPath</em> );</font></p><blockquote dir="ltr" style="margin: 5px 0px 5px 5px; padding: 0px 0px 0px 16px; border: 0px; line-height: 1.3; font-family: 돋움, Dotum, AppleGothic, sans-serif; background-image: url(http://ts.daumcdn.net/custom/blog/29/294052/skin/images/iconBlockquote.gif); background-position: initial initial; background-repeat: no-repeat no-repeat;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;"></font><p style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;"><font color="#808080" style="margin: 0px; padding: 0px; border: 0px; line-height: 1.3;">Determines if a string is a valid Universal Naming Convention (UNC) share path, \\ server\ share.</font></p><p dir="ltr" style="margin-right: 0px; margin-left: 0px; padding-right: 0px; padding-left: 0px; border: 0px; line-height: 1.3;">PathIsUNC와 다른점은 pszPath가 서버이름 + 공유경로만으로 구성되어야 한다는 점이다. (PathIsUNC는 파일명까지 넘어가도 TRUE)
- MoniWikiFaq . . . . 9 matches
= url forwarding 하면 글을 수정할 수 없습니다. =
그런데, 제가 구매한 URL 에서 포워딩 서비스를 이용해서 이 위키에 들어가면
'''Q''': 기존엔 ![url label] 이렇게 잘 작동했는데... 1.1에서는 작동에 문제발생하네요. 문제라기 보다는 링크경로가 화면에 모두 나와버리니 저 같은 경우 css를 적용하여 사용하는데... 화면이 비뚤어지는 현상이 발생하네요...
처럼 유저 id부분을 '''_urlencode''' 함수와 같이 변환과정을 한번 거처 파일시스템에서 사용할 수 있는 이름으로 변경한다.
272 : $fp=fopen($this->user_dir."/wu-"._urlencode($user->id),"w+");
278 : if (file_exists("$this->user_dir/wu-"._urlencode($id)))
296 : $data=file("$this->user_dir/wu-"._urlencode($id));
= URL 짧게 만들기 =
'''Q''': 접속할 때 사용하는 URL을 더 짧게 만들 수 없나요?
'''A''': (hack! 부작용에 대한 책임을 지지 않습니다.) URL에서 "wiki.php" 부분을 "wiki"로 바꾸는 정도가 아니라 아예 제거해 버릴 수 있습니다. 그러면 기존의 http://mywiki.net/wiki.php?SomePage 라는 URL 대신 http://mywiki.net/SomePage 를 사용할 수 있습니다. 단, 다음과 같은 제약 사항이 있습니다.
1. "wiki.php"가 사라지면서 http://mywiki.net/imgs/moniwiki-logo.gif 라는 URL의 의미가 모호해집니다. 로고 그림 파일을 가리키는 것일 수도 있고 "imgs/moniwiki-logo.gif"라는 이름의 페이지를 가리키는 것일 수도 있게 됩니다. 아래 방법에서는 "그 URL이 가리키는 파일이 존재하는 경우는 그 파일을, 그 외의 경우는 페이지 이름을 가리키도록" 동작하게 합니다.
1. moniwiki가 설치된 디렉터리에 다음 내용으로 .htaccess 파일을 만들어 줍니다. {{{<<url_prefix>>}}}에는 config.php 파일의 {{{$url_prefix}}} 값을 넣어줍니다. 단, 그 값이 ""(빈 문자열)인 경우는 "/"를 넣어줍니다.
RewriteBase <<url_prefix>>
# don't touch some reserved urls
1. wikilib.php 파일의 get_scriptname() 함수를 다음과 같이 바꿔서 "wiki.php"가 빠져있는 URL을 표시/사용 하도록 합니다.
// Return full URL of current page.
- HTTP 리퍼러 우회 . . . . 5 matches
1) 기본 (URL에 포함된 1차 도메인 주소로 리퍼러 변경)
http://hyacinth.byus.net/d.php?img=[URL]
http://hyacinth.byus.net/d.php?file=[URL]
http://hyacinth.byus.net/d.php?img=[URL]&ref=[URL]
- HelpOnLinking . . . . 5 matches
외부 링크는 {{{http://kldp.org}}}같이 그대로 적어놓으면 '''자동'''으로 http://moniwiki.kldp.org 라고 링크가 걸립니다. 여기서 주의할 점은, 링크를 적을때 한글 토씨를 그냥 붙여 적을 경우에 한글까지 링크가 걸리게 됩니다. 이럴 경우에는 {{{[http://moniwiki.kldp.org]}}}라고 적으면 [http://moniwiki.kldp.org]와 같이 '''강제'''로 링크될 URL을 지정해줘서 자동으로 링크가 걸리지 않게 합니다. 강제로 링크를 걸러줄 경우는 모니위키에서는 그 링크 앞에 작은 지구 아이콘이 생깁니다.
만약 URL의 끝 부분이 이미지의 확장자일 경우는 ("{{{.gif}}}", "{{{.jpg}}}" or "{{{.png}}}") 그림이 그 위치에 삽입되게 됩니다.
앞부분에서도 언급한 내용이지만, 자동으로 링크가 걸릴 경우 URL 주소 되에 공백을 넣어주거나, <http://moniwiki.kldp.org/wiki.php/FrontPage>와 같이 연결해주어야 합니다. 정리해보면
* URL뒤에 공백을 넣는다.
The supported URL schemas are: `http:`, `https:`, `ftp:`, `nntp:`, `news:`, `mailto:`, `telnet:`, and `file:`. Please see HelpOnConfiguration to extend this schemas.
- C++/C# 크롬 URL 추출(Chrome_OmniboxView을 쓰지 않고) . . . . 2 matches
크롬 28 버전까지 DDE-interface로 URL을 추출할 수 있었던 Chrome_OmniboxView 윈도가 크롬 29 버전부터 제공되지 않습니다.
그 대안으로 Windows accessibility APIs를 사용해 현재 탭의 URL을 얻을 수 있으며 이를 소개합니다.
- HelpMiscellaneous . . . . 2 matches
=== UrlMappings ===
특정 URL을 fix해주는 기능을 제공합니다. 예를 들어 과거의 {{{http://foobar.org}}}였던 링크가 최근에 {{{http://foobar.com}}}으로 바뀌었다면 이를 UrlMappings에 등록해서 자동으로 잘못된 URL 정보를 fix할 수 있게 해줍니다. 이 기능은 단지 대치만 해주기 때문에 실제로 페이지 내용이 바뀌거나 하지는 않습니다.
- MoniWikiPo . . . . 2 matches
#: ../plugin/ImportUrl.php:105
msgid "Import URL"
msgid "TrackBack URL for this page:"
"url; [url]; [url label].<br />\n"
"url; [url]; [url 표시될 이름].<br />\n"
- PictureMap . . . . 2 matches
# 파일명[공백]URL[공백]옵션
# 여러개 입력시 위 순서부터 살아있는 URL이 선택됩니다.
- fopen() 대신 fsockopen()을 사용한 RSS 매크로 . . . . 2 matches
RSS 매크로는 RSS를 읽을 때 fopen()를 쓰더군요. fopen()을 보안상 이유로 막아놓은 경우가 대부분이라 {{{ [[RSS(ERR: not a valid URL! $value)]] }}} 라고만 나올겁니다. fsockopen()으로 수정했습니다.
그리고 또 한가지, 예전에 작성된 RssMacro 페이지가 위키에 있는 분은 매크로를 수정하고 그 페이지에 들어갈 때 주의해주세요. 본문 중 {{{ [[RSS(ERR: not a valid URL! http://kz.mpecc.com/moniwiki/wiki.php?action=rss_rc&dummy=1)]] }}} 이 부분에서 계속 응답을 기다리는지 홈페이지가 한동안 먹통이 되어버립니다.
- AliasPageNames . . . . 1 match
# 존재하는 페이지에는 인터위키(자매 페이지) 혹은 URL도 가능합니다.
- Blog/2014-01 . . . . 1 match
|| ★★★★ || URL을 사용하는 링크드 데이터 형식 ||
- Blog/2014-03 . . . . 1 match
아무튼(BTW), 아무 생각없이 그 이미지의 URL을 확인했다.
- C++/MFC 헤더 정리 방법 . . . . 1 match
CEdit m_editSvrURL;
- CSV 파일 사양에 대한 스펙 . . . . 1 match
URL : http://www.ietf.org/rfc/rfc4180.txt
- HelpOnUserPreferences . . . . 1 match
* '''[[GetText(User CSS URL)]]''': 자신이 원하는 CSS로 변경하고 싶을 경우에 사용합니다.
- InterMap . . . . 1 match
# 인터위키이름[공백]URL
KLDPWiki http://wiki.kldp.org/wiki.php/$PAGE?action=urlencode&ie=UTF-8&oe=EUC-KR
KLE http://kle.kldp.org/main/$PAGE?action=urlencode&ie=UTF-8&oe=EUC-KR
MoniWiki http://moniwiki.kldp.org/wiki.php/$PAGE?action=urlencode&ie=EUC-KR&oe=UTF-8
- K8S . . . . 1 match
인그레스(Ingress)는 서비스 앞쪽에 위치하며 스마트 라우터 및 클러스터 엔트리 포인트 역할을 하는 별도의 쿠버네티스 자원이다. 인그레스는 외부에서 접근 가능한 URL, 로드 밸런싱, SSL 종료, 이름 기반 가상 호스팅 등을 통해 서비스에 대한 HTTP 기반 접근을 제공한다.
- MoniWikiTutorial . . . . 1 match
* URL창에 직접 페이지 이름을 넣는 방법도 있습니다.
- PHP . . . . 1 match
["/URL이 살아있는지 확인"]
- TaggingSystem . . . . 1 match
LocalKeywords 페이지에 누구나 내용을 첨가할 수 있지만 이것이 곧바로 시스템에 반영되지 않는다. 이것을 시스템에 반영하기 위해서는 위키위키의 관리자 혹은 소유자로 등록된 사용자가 다음과 같이 URL에 덧붙여준다.
- UsenetMacro . . . . 1 match
$url = $value;
$url = 'http://groups-beta.google.com/group/'.$group;
$url .= '/browse_thread/thread/'.$thread;
$purl = parse_url($url);
$fp = @fsockopen($purl['host'], 80, $errno, $errstr, 5);
$out = "GET {$purl['path']} HTTP/1.0\nHost: {$purl['host']}\n\n";
return '<!> URL is not found <!>';
return sprintf('%s<a href="%s">%s</a>', $img, $url, $subj);
- WinDbg . . . . 1 match
- 웹 심볼 [[code(SRV*로컬저장위치*URL)]]
- Windows2003Tips . . . . 1 match
특정파일이(이름이 한글로 된 파일) 안열린 경우 [URL을 항상 UTF-8로 보냄] 해제 (선택하지않음)
- ZCS . . . . 1 match
==== Post Url ====
PostPageUrl=http://yande.re/post?page=[page]&tags=[tags] // booru /post 페이지
SourceUrl=https://yande.re/post/show/ // Post Url
PostPageUrl=http://lu.booru.org//index.php?page=post&s=list&pid=[pid]
SourceUrl=http://lu.booru.org//index.php?page=post&s=view&id=
PostPageUrl=http://yande.re/post?page=[page]&tags=[tags]
SourceUrl=https://yande.re/post/show/
PostPageUrl=http://yande.re/post?page=[page]&tags=[tags]
SourceUrl=https://yande.re/post/show/
PostPageUrl=http://chan.sankakucomplex.com/post/popular_by_day?day=[page]&month=[tags]&year=2014&page=[sub_page]
SourceUrl=http://chan.sankakucomplex.com/post/show/
PostPageUrl=https://ssl-proxy.my-addr.org/myaddrproxy.php/http/chan.sankakucomplex.com/post/popular_by_day?day=[page]&month=[tags]&year=2014&page=[sub_page]
SourceUrl=https://ssl-proxy.my-addr.org/myaddrproxy.php/http/chan.sankakucomplex.com/post/show/
Fixed: 찾은 이미지 주소에 URL 경로만 있을 때 도메인 주소 붙임
- daylogs . . . . 1 match
## * 더 많은 상세 내용과 관련된 정보를 담은 기사나 URL의 참조
- irc logs/2012 . . . . 1 match
[10:23] <@^^ː발모> [LINKpreview][URL] 퓨로의 애니,게임의 J-POP :: 네이버 블로그
- 구글 사이트맵 제출하기 . . . . 1 match
1. 위의 웹사이트에 접속한 후, 중간 쯤에 'Starting URL' 웹사이트 주소를 입력하는 란이 있는데 이곳에 사이트맵을 생성할 홈페이지 주소를 입력합니다.
- 냐옹이/기억 . . . . 1 match
[01:27] <05^^ː한모> [LINKpreview][URL] hrp: 시구레 아마
- 모니위키 팁 . . . . 1 match
최상단에 입력. #redirect URL과 같은 방식도 지원.
- 소스 보기 . . . . 1 match
window.location.href= "http://mysesang.com/view_source/view_source.php?mode=one&url="+document.getSource.url.value;
URL:<input type=text name=url value="" style="background-color:#ffffff;border:1 solid #000000;width:100;color:#000000;" size="90">
- 신내린 토모선생 . . . . 1 match
<EMBED invokeURLs="false" EnableContextMenu="false" autostart="false" style="left: 0px; width: 214px; top: 0px; height: 45px;" src="http://club.chungnang.seoul.kr/ReadyWeb/ForumDownload?siteID=qwer&attachID=0&forumID=Resource_hyacinth_1&messageID=99&.mp3" type="audio/x-ms-wma" height="45" width="194"><br><br><font style="font-family:굴림" color="#999999">-_-;</font>
Found 31 matching pages out of 1205 total pages
You can also click here to search title.