Michal Suchanek
4/30/2007 10:15:00 AM
On 29/04/07, Tim Hunter <TimHunter@nc.rr.com> wrote:
> Just throwing this out there...
>
> Periodically I am made aware that not all Windows users are familiar
> with cmd.com and the Windows command line. It seems to me that it would
> be very helpful if somebody who is familiar with Windows and Ruby would
> put together a little "cheat sheet" of Windows things that new Ruby
> users on Windows need to know.
>
> For example, how to start a command window and what to do with it once
> it's started. What directories are and how to manipulate them with
> commands. Here I'm thinking of dir, mkdir, chdir, etc. (Might even need
> a "cmd.com commands for beginners" section.) What a text editor is, why
> you can't use Word to write Ruby code. How to run a Ruby program that's
> been saved in a file.
>
> I'm not really Windows-knowledgeable-enough to do this myself. You Ruby
> & Windows users out there know better than I do what's useful. I'm
> guessing that this would make a very popular blog entry.
>
Why do you want the users to use command line on Windows? You can make
directories and move around files in both Explorer and Ruby just fine.
There are commands like ipconfig or net which only work in command
line but these are needed only in very specific situations.
Ruby scripts open their own text window so you do not have to start
them from command line for that. At least it works for me.
And if you want a real shell there is msys (the support environment
for mingw) which has a bourne shell, coreutils, diff, ...
Thanks
Michal