Показать сообщение отдельно
Старый 06.08.2010, 17:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
dax-ideas: Displaying the names of the files in the directory
Источник: http://dax-ideas.blogspot.com/2010/0...directory.html
==============

To display names of the files in directory

static void ShowFileNameinDirectory(Args _args)
{
int handle;
FilePath filePath;
FileName FileName;
;

filepath = "D:\\Cole Hersee Reports";

[handle,filename] =
WinAPI::findFirstFile(filepath + "\\*.xls");

while (filename)
{
info(filepath + "\\" + filename);
filename = WinAPI::findNextFile(handle);
}

WinAPI::findClose(handle);
}


Источник: http://dax-ideas.blogspot.com/2010/0...directory.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.