Jump to content
Sign in to follow this  
feldmaneyal

FileRemoveDir, <Directory>

Recommended Posts

feldmaneyal

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
Jos

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

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.