"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