Re: Creating groups of bat files from perl script

2010-04-30 Thread Paul
On Fri, April 30, 2010 1:07 pm, John W. Krahn wrote: > Paul wrote: >> OK, was kinda rust, been working on Solaris servers for year, but not >> been >> working solely with windows, but I sure do miss scripting, no matter how >> screwed up my programming skills are, it's fun! Here is what I have >>

Re: Creating groups of bat files from perl script

2010-04-30 Thread Jim Gibson
On 4/30/10 Fri Apr 30, 2010 9:55 AM, "Paul" scribbled: > On Fri, April 30, 2010 12:37 pm, Jim Gibson wrote: >> If you do need to change '/' to '\': >> >> $path =~ s{ / }{\\}gx; > > I'll have to remember that when tr///d doesn't work! Thanks. Why are you using the d modifier, which mea

Re: Creating groups of bat files from perl script

2010-04-30 Thread John W. Krahn
Paul wrote: OK, was kinda rust, been working on Solaris servers for year, but not been working solely with windows, but I sure do miss scripting, no matter how screwed up my programming skills are, it's fun! Here is what I have with "\" replacing "/" and better fixes with counting. Yes, I know

Re: Creating groups of bat files from perl script

2010-04-30 Thread Paul
On Fri, April 30, 2010 12:37 pm, Jim Gibson wrote: > On 4/30/10 Fri Apr 30, 2010 9:24 AM, "Paul" > scribbled: > >> OK, it was late at night, and working 7 days/week doesn't help. Anyhow, >> after looking at my convoluted script, I have one that works now, but am >> now trying to figure out an e

Re: Creating groups of bat files from perl script

2010-04-30 Thread Paul
OK, was kinda rust, been working on Solaris servers for year, but not been working solely with windows, but I sure do miss scripting, no matter how screwed up my programming skills are, it's fun! Here is what I have with "\" replacing "/" and better fixes with counting. Yes, I know there is a bet

Re: Creating groups of bat files from perl script

2010-04-30 Thread Jim Gibson
On 4/30/10 Fri Apr 30, 2010 9:24 AM, "Paul" scribbled: > OK, it was late at night, and working 7 days/week doesn't help. Anyhow, > after looking at my convoluted script, I have one that works now, but am > now trying to figure out an easy way to change the "/" in the resultant > file to "\" to

RE: Creating groups of bat files from perl script

2010-04-30 Thread Bob McConnell
From: Paul > OK, it was late at night, and working 7 days/week doesn't help. Anyhow, > after looking at my convoluted script, I have one that works now, but am > now trying to figure out an easy way to change the "/" in the resultant > file to "\" to work in windows. Always something. Do you re

Re: Creating groups of bat files from perl script

2010-04-30 Thread Paul
OK, it was late at night, and working 7 days/week doesn't help. Anyhow, after looking at my convoluted script, I have one that works now, but am now trying to figure out an easy way to change the "/" in the resultant file to "\" to work in windows. Always something. #user/bin/perl -w use File::