Jump to content
Sign in to follow this  
Guest prsobel

DirRemoveContents Obsolete?

Recommended Posts

Guest prsobel

The ChangeLog file in the Include file installed by AutoIt 3.1.1 says, "File.au3:

- Removed: _DirRemoveContents , obsolete, replaced by FileDelete() internal command."

Does this mean FileDelete can now be used to eliminate the contents of a directory which itself contains subdirectories? If so, how?

New and confused. Thank you.

Share this post


Link to post
Share on other sites
Jos

The ChangeLog file in the Include file installed by AutoIt 3.1.1 says, "File.au3:

- Removed: _DirRemoveContents , obsolete, replaced by FileDelete() internal command."

Does this mean FileDelete can now be used to eliminate the contents of a directory which itself contains subdirectories? If so, how?

New and confused. Thank you.

<{POST_SNAPBACK}>

guess it should say the DirRemove() makes it obsolete....

DirRemove ( "path" [, recurse])


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
GaryFrost

FileDelete should ony remove files specified by the call

To remove files and subfolders look into the DirRemove function


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×