Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove sub-directory programmatically
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00482991
Message ID:
00482998
Views:
8
Is it possible that your current default directory is "tempsdir" when you are attempting to perform the rd command? I believe you will get an "access denied" error in this case.

Scott

>i thought some house-keeping is in order when dealing with a lot of temp files. so i create a temp sub-directory as a working area and remove it when i quit the project.
>
>my init codes are:-
>publ tempsdir
>tempsdir='c:\Jobname\temp'
>md (tempsdir)
>
>in my quit cmdbutton, its click code is:-
>
>clos all
>rd (tempsdir)
>
>but i get an "access denied" message. how can i rectify it? ta
Scott King
The Support Source Corporation
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform