Hey everyone,
I have a program that runs a loop programmed as follows:
do while not empty(directory + '*.dat')
The program grabs a "*.dat" file in the directory and appends to tables in another directory then excutes the following code:
erase (directory\*.dat)
The program does this successfully.
The problem though lies in the directory itself. Though through explorer, the directory looks empty; through a directory look-up in dos, there are 0 byte files in the directory, usually " . " and " .. " . Does the erase command leave these " ." and " .. " files behind when it is erased? Do I need to do another command besides erase? Is this even a foxpro coding problem? Any thought would be appreciated.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only