Sign in to follow this  
Followers 0
Guest prsobel

DirRemoveContents Obsolete?

3 posts in this topic

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



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])


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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  
Followers 0