From: Luis Lavena Date: 2010-05-12T06:45:13+09:00 Subject: Re: help to run Ruby On May 11, 2:12 pm, "balzer" wrote: > > to add Ruby\bin to your PATH with: > > SET PATH=%PATH%;E:\Ruby\bin > > or > > SET PATH=%PATH%;E:\Ruby\bin\ruby.exe > No, you add directories, not executables. > To invoke  command directly from inside the scripts folder, should I > directly run MS-DOS command ruby.exe embed.rb > C:\Documents and Settings\User>  ruby.exe embed.rb > or or first change directory from default windows to > E:\> ruby.exe embed.rb ? > You change (cd) into the directory that contains your scripts, whatever. Since Ruby's bin directory is in the search path, invoking "ruby" is enough to locate it properly. -- Luis Lavena