Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove sub-directory programmatically
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00482991
Message ID:
00482998
Vues:
10
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform