Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

minimize windows cmd window

by mifflin (Curate)
on Apr 06, 2007 at 20:52 UTC ( #608758=perlquestion: print w/replies, xml ) Need Help??
mifflin has asked for the wisdom of the Perl Monks concerning the following question:

I've got a Tk program on my desktop called When I dbl click on it two windows appear. The Tk application and a cmd window with "C:\Perl\bin\perl.exe" in the titlebar. How do I run my perl Tk app with that cmd window auto minimized?

Replies are listed 'Best First'.
Re: minimize windows cmd window
by Joost (Canon) on Apr 06, 2007 at 21:04 UTC
Re: minimize windows cmd window
by Jenda (Abbot) on Apr 07, 2007 at 10:52 UTC

    If you create a shortcut to your script and go to the shortcut's properties you can specify whether the cmd window starts as a Normal window, Minimized or Maximized. If you do not want it to appear at all, use wperl.exe.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://608758]
Approved by TStanley
[LanX]: interpolation! like in a "string"
[Lady_Aleena]: LanX, I just never thought I would be explaining perl regex to others. It is usually others explaining why a regex isn't working to me.
[Discipulus]: congratulations shmem! (was my last upvote? ;=)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2017-04-28 09:51 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (520 votes). Check out past polls.