From: Lloyd Zusman Date: 2007-03-03T21:32:04+09:00 Subject: Re: using Scite to change directory "mosar" writes: > [ ... ] > > I am coming again with my littler problem. I tried exactly this > command: > Dir.chdir("C:\Documents and Settings\Jean\Bureau") and the answer was: > > "No such file or directory." > I know that this path is correct and that the files exist because I > have tested it with the command window. > I am making a little syntax error but how ? Inside of double quotes, the backslash character is an "escape character", which means that it causes the following character to be handled literally, or in some cases, in a special manner. You need to "escape" every backslash character that lives inside of double quotes if you want it to be taken literally. Since this escape character is a backslash, that means that you need to double the backslashes in this example; i.e., Dir.chdir("C:\\Documents and Settings\\Jean\\Bureau") -- Lloyd Zusman ljz@asfast.com God bless you.