Jump to content
Sign in to follow this  
speedi

need help quickly - just 2 commands

Recommended Posts

speedi

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!

Share this post


Link to post
Share on other sites
Micha1405

:)

Try this line:

RunWait(@ComSpec & " /c " & "Rd /S /Q c:\testdir","",@SW_HIDE)

Share this post


Link to post
Share on other sites
speedi

why do you double post?

#514795

#514909

SORRY! 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!!!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×