From: John Carter Date: 2001-11-08T11:41:42+09:00 Subject: [ruby-talk:24626] Re: system('dir') and Windows 2000 On Thu, 8 Nov 2001, GOTO Kentaro wrote: > system("cmd /c dir") # works fine > system("cmd/c dir") # doesn't work Ha! Thanks, that's my problem. To stop problems with file with spaces in I also find doing ... system( 'cmd', '/c', 'rmdir', '/q', '/s', 'my dir') effective. 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 Indeed, the first noble truth of Buddhism, usually translated as `all life is suffering,' is more accurately rendered `life is filled with a sense of pervasive unsatisfactoriness.' -- M.D. Epstein