morecowbel
IS-IT--Management
- Nov 4, 2005
- 4
I have a FoxPro program that is responsilbe for creating a subdirectory then moving some file into that subdirectory.
Every now and then for some unknown reason the subdirectory is not made (the subdirectory is being created on the local systems hard drive -- not across the network).
When the subdirectory is not created my program does not crash. Instead the program crashes when it trys to copy file into the folder stating "The specified file does not exist".
I can cancel the program then restart it and eveything works fine for another few days.
Does anyone know how I can capture a return value fro mteh MKDIR command to determine when a problem creating the subfolder happens so I can code around it? Also, does anyone have any ideas why FoxPro (version 9) would have problems in creating a subdirectory like this every now and then?
Every now and then for some unknown reason the subdirectory is not made (the subdirectory is being created on the local systems hard drive -- not across the network).
When the subdirectory is not created my program does not crash. Instead the program crashes when it trys to copy file into the folder stating "The specified file does not exist".
I can cancel the program then restart it and eveything works fine for another few days.
Does anyone know how I can capture a return value fro mteh MKDIR command to determine when a problem creating the subfolder happens so I can code around it? Also, does anyone have any ideas why FoxPro (version 9) would have problems in creating a subdirectory like this every now and then?