From: Bill Guindon Date: 2006-04-30T10:00:54+09:00 Subject: Re: can a ruby script perform a chdir on win xp? On 4/29/06, Lloyd Zusman wrote: > "Bill Guindon" writes: > > > > > I like the look of it, but it's not working here: > > > > c:\work\active\apps>cdir.bat > > (`cdir.rb`) was unexpected at this time. > > Hmm ... I wonder if this needs to run in a .cmd file instead of a .bat > file. Under winxp, it works for me in a .cmd file exactly as written. > Maybe if you rename your file to be cdir.cmd ... ??? > Same results. Deleted the .bat file, and called it explicitly (cdir.cmd) to make sure. > > -- > Lloyd Zusman > ljz@asfast.com > God bless you. > -- Bill Guindon (aka aGorilla) The best answer to most questions is "it depends".