0

I had a directory on a windows 2003 server called e:\Transfer. Once a week I would delete everything within the \transfer directory and then copy the contents from the \transfer directory on another windows 2003 server.

Last month I was told I needed to move my backup directory off the 2003 server onto a 2008 server. I modified my batch job to point at the new 2008 server and thought that everything was going to work. After some testing I found out that the "deltree" command no longer worked. I tried to use the "del" command but it wouldn't delete the directories within the \Transfer directory. Only the files were deleted.

Is there a way for me to delete the contents of my \Transfer directory without having to delete the directory and recreating it?

3

1 Answer 1

0
rd /s /q c:\Transfer

/s - Delete all files and directories
/q - No prompting for deleting directories

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .