Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory problem
Message
From
20/09/2001 10:22:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Directory problem
Miscellaneous
Thread ID:
00558714
Message ID:
00558714
Views:
54
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
Map
View

Click here to load this message in the networking platform