Sign in to follow this  
Followers 0
feldmaneyal

FileRemoveDir, <Directory>

2 posts in this topic

I would like to force directory remove - dont care if there are files there.

thx

Share this post


Link to post
Share on other sites



I would use ver 3 and use command:DirRemove( "path" [,recurse] )

If you need recursive deletion you could also run deltree:

Run, %COMSPEC% /C deltree /y c:\\test

or if theres no subdir's in the directory to be deleted you could

FileDelete, C:\\Test\\*.*

FileRemoveDir, C:\\Test


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
Sign in to follow this  
Followers 0