Tim Hunter wrote:
> 
> `del *.txt`
> 
> That's backticks, not apostrophes. Also, this won't prevent the display
> of output to stderr, only stdout.

Hrmm, backticks don't seem to work on windows boxes.

Tries to point to a CMD variable instead.


@Robert Klemme

I agree that doing it entirely in ruby would be the better way to go 
about it.
Just sometimes it is quicker to use a command that is already available 
(or run a utility I added to %path%) to speed things up at work.

Plus, now that I am wondering, it will haunt me until I find the answer.
-- 
Posted via http://www.ruby-forum.com/.