feldmaneyal Posted January 9, 2004 Share Posted January 9, 2004 I would like to force directory remove - dont care if there are files there. thx Link to comment Share on other sites More sharing options...
Developers Jos Posted January 9, 2004 Developers Share Posted January 9, 2004 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 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts