static void clearDirectory(Args _args)
{
System.String[] files;
int filecount;
int i;
if (WinAPI::folderExists(OGOParameters::find().TIFFFileDirectory))
{
files = System.IO.Directory::GetFiles(OGOParameters::find().TIFFFileDirectory);
filecount = files.get_Length();
for(i=0; i < filecount; i++)
{
System.IO.File::Delete(files.get_Item(i));
}
}
}
{
System.String[] files;
int filecount;
int i;
if (WinAPI::folderExists(OGOParameters::find().TIFFFileDirectory))
{
files = System.IO.Directory::GetFiles(OGOParameters::find().TIFFFileDirectory);
filecount = files.get_Length();
for(i=0; i < filecount; i++)
{
System.IO.File::Delete(files.get_Item(i));
}
}
}
No comments:
Post a Comment