in reply to A couple of problems....

I am also having a problem with the program trying to delete the actual 'foo' directory.

Is there any chance you're in the directory while trying to run the script? Unlike UNIX, Win32 won't allow a directory to be deleted when someone has cd'ed to the directory. I never get used to this...

Replies are listed 'Best First'.
RE: RE: A couple of problems....
by djw (Vicar) on Oct 19, 2000 at 00:25 UTC
    No I run the script from my desktop. Must be because windows catches the dir as 'in use' and won't unlock it until the script is completed. Which probably saves my entire hard drive from being deleted =)

    Thanks,
    djw