Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

The OP is trying to get a better understanding of the batch file that you have to run in order to use portable Strawberry Perl.

Yes, the OP is essentially trying to learn batch programming, not trying to solve some strawberryperl problem he's encountered, and AFAIK, that is off topic

From my perspective ... That's just ridiculous IMHO.

Yes, I agree, because that is not the same perspective at all -- compiling perl, compiling modules, writing XS, is all clearly on topic -- having perlmonks teach you batch file programming is off topic

I apologize if the tone of this post sounds harsh. Just tired of seeing folks trying to impose unwritten "policies" by criticizing the person for daring to violate one of those "policies" rather than offering at least a little assistance to the OP. Decided to speak up for once about it.

Well, that is quote from the official policy, the "written" one that I linked, check your facts. If you have a problem with the policy, complain to the management.

And FWIW, I'm not sure how quoting the official policy is criticism.

And FWIW, I did offer both assistance ( Although, you can employ Basic debugging checklist even in batch file programming ( ECHO ) ) and the literal answer

So yeah, I too am tired of , well, of whatever your posting qualifies as -- inaccurately (libelously?) defending lazy off topic posters?

How hard is to copy/paste that line and put ECHO in front of it?

code

echo DRIVE %drive% echo DRIVEP %drivep% echo ONLY %drive:~-1% echo EQUALS $#\#$==$#%drive:~-1%#$ echo NEW SET drivep=%drive:~0,-1%

output

DRIVE C:\ro\sham\bo\ DRIVEP C:\ro\sham\bo\ ONLY \ EQUALS $#\#$==$#\#$ NEW SET drivep=C:\ro\sham\bo

Instead of speaking up next time, consider saving it for a better fit.


In reply to Re^3: Question on Strawberry's Portable .bat file by Anonymous Monk
in thread Question on Strawberry's Portable .bat file by KevinZwack

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the fog begins to lift...

    How do I use this? | Other CB clients
    Other Users?
    Others perusing the Monastery: (5)
    As of 2018-01-18 05:10 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      How did you see in the new year?










      Results (206 votes). Check out past polls.

      Notices?