How to get file in folder in batch process?
问题 I have to get file in a folder. My process can work in Batch . My code is this: Io file; FileIoPermission perm; int handle; Filename fileName; [handle, filename] = WINAPI::findFirstFile( myFilePatch + "\\*.txt"); fileOpen = strFmt (myFilePatch + "\\" + filename); if (filename) { perm = new FileIoPermission(filename, 'r'); perm.assert(); file = new TextIo(filename, 'r', 65001); } //etc... other code // I go on to find another file filename = WinAPI::findNextFile(handle); fileOpen = strFmt