home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 40,979 of 42,547   
   Todd Vargo to Todd   
   Re: How do I extract a value into a vari   
   07 Aug 14 01:48:51   
   
   From: tlvargo@sbcglobal.netz   
      
   On 8/6/2014 9:49 PM, Todd wrote:   
   > Hi All,   
   >   
   > I need to extract a value into a variable.   
   >   
   >   
   > echo path=\abc\def\xyz | find /i "path"   
   > path=\abc\def\xyz   
   >   
   > What I need is to cut up the above and place   
   > "\abc\def\xyz" into a variable   
   >   
   > Many thanks,   
   > -T   
      
   It appears that you want to parse the PATH variable but then you are   
   replacing it which is confusing as to what you are actually trying to   
   accomplish above.   
      
   --   
   Todd Vargo   
   (Post questions to group only. Remove "z" to email personal messages)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca