You have our permission to take the weekend off - Monday too!

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2008 10:45 AM
To: NT System Admin Issues
Subject: RE: CMD scripting question

 


"Carl Houseman" <[EMAIL PROTECTED]> wrote on 08/29/2008 10:32:32 AM:

> Questions about scripting are not OT here, they are frequent. 
>   
> set abc=\\servername\users\username 
> for /f "delims=\ tokens=1" %%f in ("%abc%") do echo %%f 

D'OH! Man, do I really need the weekend off .... never even clicked that it
was just a string with delimiters, and I can specify delimiters in a FOR /F.


Carl, you DA MAN! Thanks! 

 

 

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to