in reply to sorry for the noob question, but I need to know how to hide the command prompt

Instead of typing wperl yourscrip.pl, you could choose another extension for your script, e.g. ".wp" (don't use ".wpl" - that is already used by the MediaPlayer) and associate that with wperl.exe. That way you can then simply double-click the file to invoke the script with wperl.exe.

The simplest way to associate a filename with an extension is to say
Context-menu-> Open-> Choose a program-> Search(Select wperl.exe)-> Check "Always use this program"-> OK.


holli, /regexed monk/

Replies are listed 'Best First'.
Re^2: sorry for the noob question, but I need to know how to hide the command prompt
by sr71000 (Initiate) on Mar 08, 2005 at 11:03 UTC
    hehe....i thought of that idea last night..i picked .wl but .wp does sound more logical...I may switch it :) Thank you very much though! However, I still want to better this code :) is there a way I could do that in my program. I plan on making a fully fledged proggy eventually. It will have an install file that will set a few settings in it, then hopefully it will associate .wl (or .wp, whatever the user chooses) with wperl.exe :). Thank you and everyone else very much. the help has been great :)
      File assiciations are set via the Registry. There are several modules to manipluate the Registry, e.g. Tie::Registry.


      holli, /regexed monk/
        do you know where in the registry the file associations are for windows xp? i can't find anything on google either....usually I can find stuff, but not lately :( sucks!! thanks for all the help :)