WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

File Operations

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

File or Item Extraction Loop

Keywords:	 File or Item Extraction loop FileExist ItemExtract count


DirChange("C:\someplace")
List = FileItemize("*.EXE")	      ; get file list
FileCount=ItemCount( List, @TAB)	     ; @TAB for file list delimiter
for FileIndex = 1 to FileCount
	 ThisFile= ItemExtract( FileIndex, List, @TAB)
	 Message(FileCount, ThisFile)	 ;for debugging
	 FileDelete(thisfile)
next

Article ID:   W13235
Filename:   File or Item Extraction Loop.txt
File Created: 2001:01:03:10:07:04
Last Updated: 2001:01:03:10:07:04