General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2003 Server
>Well piffle then. Thanks
>
>
>>RMDIR is a command, not a function. Therefore, it does not return anything.
>>
>>>Background: I need to create and remove directories in a temp folder. Creating and removing is NOT the problem
>>>
>>>The problem comes in if someone is sitting in the directory to be removed. VFP cannot remove the directory and I'd like to catch that and report it.
>>>
>>>Question: does RmDir return anything? Since it's VFP 6, no Try..Catch block :-(, and if I have to do the whole "Save Error Routine, On Error, Reset back to old Error", I will - I was just hoping that it returned something I could catch easily.
>>>
>>>Thanks
Dorris,
Would doing a RMDIR followed by a ADIR() (to see if the directory was in fact removed ) be too much of a pain?
Previous
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