Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I don't know how to put the entry in the "new" menu, however I'll give you a suggestion on how to acheive similar effect.

When you select a directory, you get the familiar items open, expolre, find in the File menu and in the sf10 menu. You can add a new item under these, in the file associations dialog, that has an action like c:\windows\command\command.com /c echo, ">%1\New.pl", replacing command\command.com with system32\cmd.exe on NT-derived systems (including XP). Then, if you open a folder in Explorer, you can show the folder tree on the left side, select the folder in the tree, right-click on it, and chose the action. Then, the file "New.pl" gets created.

I used a similar technique on my windows: I created an action c:\windows\command\command.com /k cd "%1", which spawns a new shell window that cd's in the directory.


In reply to Re: Perl template file in windows new menu by ambrus
in thread Perl template file in windows new menu by inman

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-25 09:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found