4,552,268 th visitor since 2017.2.1 ( Today : 41 )
Programming
No. 688
Name. swindler
Subject. [MFC] 파일 찾기, 삭제
Main Cate. Win32
Sub Cate.
Date. 2010-11-11 13:53
Hit. 8570 (211.36.27.8)
File.
char *file1="C:\\Documents and Settings\\aa.txt";

CFileFind pFind;
BOOL bRet;
    
bRet = pFind.FindFile(file1); // 파일 존재여부 파악

DeleteFile(file1); // 파일삭제

[바로가기 링크] : http://coolx.net/cboard/develop/688



Name
Password
Comment
Copyright © 1999-2017, swindler. All rights reserved. 367,611 visitor ( 1999.1.8-2004.5.26 ), 2,405,771 ( -2017.01.31)

  2HLAB   2HLAB_Blog   RedToolBox   Omil   Omil_Blog