speedi Posted May 1, 2008 Share Posted May 1, 2008 I have tried everything. my latest attempt RunWait(@ComSpec & " /c " & "Rd /s/q c:\testdir") DirCreate("C:\testdir") exit prior to runwait, I have copied many folders and files into c:\testdir and at this point in the script, I want to delete everything in c:\testdir. when my script finishes, c:\testdir is not there..... What am I brain dead about here????? Thanks! Link to comment Share on other sites More sharing options...
Micha1405 Posted May 1, 2008 Share Posted May 1, 2008 Try this line: RunWait(@ComSpec & " /c " & "Rd /S /Q c:\testdir","",@SW_HIDE) My TrayToolBar Link to comment Share on other sites More sharing options...
speedi Posted May 1, 2008 Author Share Posted May 1, 2008 why do you double post?#514795#514909SORRY! I thought I might get an answer posting the question differently.... I wasn't getting anymore replies to the 1st post...It hasn't helped..... I will not duble post (as you call it) again!!! Link to comment Share on other sites More sharing options...
Recommended Posts