Perl is cross-platform, and there are a buncha CPAN modules that are Windows-centric.
Others will say PowerShell, and that probably does make more sense for a Windows environment, but in a mixed environment knowing both is a Good Thing(tm). Kurt On Wed, Jun 10, 2009 at 11:01, Joseph L. Casale<[email protected]> wrote: > Yea, I just hate installing extra stuff on servers, I really should learn > something ms oriented, I know basic perl from Linux and love it! > jlc > > -----Original Message----- > From: Kurt Buff [mailto:[email protected]] > Sent: Wednesday, June 10, 2009 11:29 AM > To: NT System Admin Issues > Subject: Re: More batch help > > Perl! > > Let the language wars begin... > > Heh. > > On Wed, Jun 10, 2009 at 09:22, Joseph L. > Casale<[email protected]> wrote: >> Sorry, got it: >> >> FOR /F %%a IN ('"vshadow -q | grep "SNAPSHOT ID" | cut -f 5 -d " ""') DO ( >> >> vshadow.exe -ds=%%a >> >> ) >> >> >> >> I should really become proficient in a useful language J >> >> >> >> From: Joseph L. Casale [mailto:[email protected]] >> Sent: Wednesday, June 10, 2009 10:15 AM >> To: NT System Admin Issues >> Subject: More batch help >> >> >> >> Hey Guys, >> Whяявя™s the trick for getting a long command executed in a for loop: >> >> >> >> FOR /F %%a IN (vshadow -q | grep "SNAPSHOT ID" | cut -f 5 -d " ") DO ( >> >> echo %%a >> >> ) >> >> >> >> As an example? >> >> Thanks! >> jlc >> >> >> >> >> >> >> >> > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ > > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
