[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Winapp without console window

Thomas Adam

9/5/2003 1:59:00 PM

What you could do is...

1. Write a .bat file called "runnme" which has:

start ruby c:\path\to\ruby_script.rb

2. Create a symlink (shortcut, sorry) to the user's desktop.

3. Set the properties of runme.bat to "run-minimised"

That way it would be hidden.

HTH,

-- Thomas Adam


--- Dalibor Sramek <dali@insula.cz> wrote: > Hi.
>
> Is there any way how to run a non-GUI Ruby script in Windows without the
> console
> window shown in the taskbar? I need to install a script to a user who
> would get
> distracted by the console window appearing in her taskbar.
>
> Thanks
>
> Dalibor Sramek
>
> --
> Dalibor Sramek http://www.insu... | In the eyes of cats,
> dalibor.sramek@insula.cz | all things belong to cats.
>
>

=====
Thomas Adam

"The Linux Weekend Mechanic" -- www.linuxgazette.com

________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.y...