Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleteing Files
Message
From
26/03/1998 10:11:25
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00087021
Message ID:
00087279
Views:
30
>>How do you remove a directory if there are files in it? rmdir does not work because it says access denied.
>>
>>Thanks,
>>Matt
>
>Programatically - or from the command prompt? From the command prompt - issue DELTREE followed by the directory ex: DELTREE c:\temp.

Winnt do not support Deltree!!
Of cos, to deltree programmically, will be:

Run /N Deltree /y c:\temp>nul

Nowait with no prompt to confirm and also nothing on display!

Another way will be:

Delete File c:\temp\*.*
Rmdir c:\temp

But if your error message is 'Access denied', you may not allow to do as
you are not superuser to remove directory!! Can you state more information?
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Reply
Map
View

Click here to load this message in the networking platform