On Thursday 08 November 2001 01:18, you wrote: > On Thu, 8 Nov 2001, Armin Roehrl wrote: > > try "cmd /c dir" > > Tried system( 'cmd/c dir') and got nowhere. I don't use Windows, so I can't test it for you: read http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/~poffice/mail/ruby-talk/9739 --> `command.com /c dir` #on Win(95|98) `cmd.exe /c dir` #on Win(NT|2k) Does this work? > > Alas, Find.find feeds one the directory first and then the files. So if > you try delete them it says directory not empty. Delete the files first (File.dete) and then use Dir.delete to remove the directory. Good luck. Armin > > > John Carter Phone : (64)(3) 358 6639 > Tait Electronics Fax : (64)(3) 359 4632 > PO Box 1645 Christchurch Email : john.carter / tait.co.nz > New Zealand -- Armin. ----------------------------------------------- Armin Roehrl, http://www.approximity.com "The best way to predict the future is to invent it." --Alan Kay