Send2FileList

Return to Introduction  Previous page  Next page

Prototype: (),LONG,PROC

 

ReturnsReturns the number of records in the FileList queue.

 

This method takes the command line and parses it to extract the filenames passed on the command line.  Each parameter is checked and a record is only added to the queue if the parameter exists as a file or folder.  This means that parameters or switches like "/f" will not result in records being added to the FileList.  This method is called by the DumpFilesInQ so if you are going to get the files into a local queue, you do not need to call Send2FileList before you call DumpFilesInQ.  If you do not need to get the files into a local queue you can work with the FileList queue directly. 

 

Example:

ITS2  ITSend2Class

I     Long

Code

ITS2.Send2FileList

Loop I = 1 To Records(ITS2.FileList)

  Get(ITS2.FileList,I)

  Message('File ' & Format(I,@n02) & ' ' & ITS2.FileList.FullPath)

End

 

 

See also:

DumpFilesInQ
FileList

 



Direct link to this page on our website: http://www.icetips.com/manuals/send2/send2filelist.htm