On Wed, Jun 10, 2009 at 3:40 PM, Joseph L.
Casale wrote:
> So a carat is a windows escape char in a shell?
In CMD.EXE, some of the meta-characters can be escaped with the
caret (^). The redirection operators, I think the ampersand, maybe
one or two others. Not all. (In particular, not the com
From:* mikeMitchell [mailto:its.m...@analogy.ca]
> *Sent:* Wednesday, June 10, 2009 1:00 PM
> *To:* NT System Admin Issues
> *Subject:* RE: More batch help
>
>
>
> for /f %%a in ('vshadow -q ^| grep "SNAPSHOT ID" ^| cut -f 5 -d " " ') do
> echo %%a
>
>
So a carat is a windows escape char in a shell?
Or is this something specific to a pipe?
Thanks!
jlc
From: mikeMitchell [mailto:its.m...@analogy.ca]
Sent: Wednesday, June 10, 2009 1:00 PM
To: NT System Admin Issues
Subject: RE: More batch help
for /f %%a in ('vshadow -q ^| grep "S
vbscript is 'everywhere' in the windows world; powershell's on the way to being
everywhere, but hasn't arrived yet.
-Original Message-
From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
Sent: Wednesday, June 10, 2009 11:02 am
To: NT System Admin Issues
Sub
for /f %%a in ('vshadow -q ^| grep "SNAPSHOT ID" ^| cut -f 5 -d " " ') do
echo %%a
Pipes in the inside bit need to be escaped with hat... ^|
The command line within the parens should be surrounded by single quote.
From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
Sent: Wednesday,
> 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 wrote:
>> Sorry, got it:
>>
>> FOR /F %%a IN ('"vshadow -q | grep
: More batch help
Perl!
Let the language wars begin...
Heh.
On Wed, Jun 10, 2009 at 09:22, Joseph L.
Casale wrote:
> Sorry, got it:
>
> FOR /F %%a IN ('"vshadow -q | grep "SNAPSHOT ID" | cut -f 5 -d " ""') DO (
>
> vshadow.exe
Perl!
Let the language wars begin...
Heh.
On Wed, Jun 10, 2009 at 09:22, Joseph L.
Casale 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 lan
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 :)
From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
Sent: Wednesday, June 10, 2009 10:15 AM
To: NT System