thanks merlyn.. had no clue that they wouldn't always be the first two.. I'll leave as is

edit:Here's the final version for anyone interested. I'm printing the items using TextPad because I like its formatting. I realize its proprietary but I just wrote it for personal use. I could have use the win 32 print shell command but its formatting was ugly so i decided to use textpad. It could easily adapted to provide max compatibility
#!/perl -w use strict; print "Enter the path of the folder to print: "; chomp(my $path=<STDIN>); #Fix the slashes $path =~ s{\\}{\\\\}g; #Open the directory if(opendir PRINT,$path) { #Loop through the files foreach((readdir(PRINT))) { #Skip . and .. if(($_ eq ".") or ($_ eq "..")) {next;} #If it is a file if(open TEST,$path."\\".$_) { #Make sure it is a text file if(-T TEST) { #Close the file close TEST; print "currently printing: ".$_."\n"; #Print the file system("\"c:\\Program Files\\TextPad 4\\Textpad.exe\" -p \ +"$path.\\$_\""); } else {print $_. " is a non-text file!\n";} } else {print $_." is a folder!\n";} } } else {print "Could not open directory for printing!";}

In reply to Re: &bull;Re: question regarding slices by Grygonos
in thread question regarding slices by Grygonos

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, details, 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, summary, 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.