Can a ruby script perform a chdir on win xp?

Hey… I just helped someone on ruby-talk! First time – woohoo!

Not a very Ruby related problem though… but still…

;D

On 4/30/06, Daniel B. [email protected] wrote:

Hey… I just helped someone on ruby-talk! First time – woohoo!

Not a very Ruby related problem though… but still…

Sure it was, it’s how I got Rake to drop me off in the newly created
directory when I give it a ‘new_app’ task :slight_smile:

On 4/30/06, Daniel B. [email protected] wrote:

Same results. Deleted the .bat file, and called it explicitly
btw :wink:
proposed, I’ve been kinda skimming this thread up til now) would be to call
cd c:\whatever\

…pretty sure this would work, if you can’t get the originally proposed
command line magic to work. It’d work as .bat files too, so you could use
it in Win98 or DOS or whatever.

Why was that so obvious after I read it? Thanks much. Works like a
charm.