Works! Thanks!
-k
···
-----Original Message-----
From: Eric Hodel [mailto:drbrain@segment7.net]
Sent: Saturday, December 28, 2002 10:30 PM
To: ruby-talk@ruby-lang.org
Subject: Re: Basic file deleting question…
Kurt Euler (keuler@portal.com) wrote:
Eric-
Thanks, but could you elaborate? How would you rewrite your line:
File.delete(Dir[""])
to specify deleting all files in the directory “output”.
You’d want to cwd to the dir first:
Dir.chdir(‘output’)
File.delete(Dir[""])
–
Eric Hodel - drbrain@segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04