From: "S. Hieko" Date: 2012-10-01T23:11:38+09:00 Subject: Re: Windows XP - Path encoding problem prevents script execution Jon Forums wrote in post #1078172: > > Looks like your cmd.exe defaults to codepage 850 and ruby doesn't like > it. In an open Command Prompt set the active codepage to 1252 and run > your command line tests again. > > chcp 1252 > > If the problem disappears, consider changing your default codepage by > setting the OEMCP subkey of > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage to > 1252. Once you've rebooted, any Command Prompt you open will be in 1252 > mode. > > Jon Thanks. Changing the command prompts code page did indeed allow me to run the script by specifying the script's path only. However the script's path displays incorrectly inside the command prompt itself, as I type it ("C:/Scripts/ClichÚ/test.rb") and any command's output such as "dir" appears wrong as well. I changed the reg key + reboot to see if I could launch the file within windows explorer but it didn't have any effect, still not working. -- Posted via http://www.ruby-forum.com/.