From: Brian Denny Date: 2002-04-20T05:29:54+09:00 Subject: ms-dos calls on Windows? and/or, getting working directory? hi... on Unix, you can do something like, foo = `pwd` the equivalent on Windows (foo = `cd`) seems not to work. is there some way i can make an ms-dos shell call? or does it have to be a "system call", ie Win32 API? actually, all i'm trying to do at the moment is get the current working directory from within ruby, so if i'm totally barking up the wrong tree and there's another simple way to do it, please let me know. thanks, -brian