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,984 of 42,547   
   Todd to Todd Vargo   
   Re: How do I extract a value into a vari   
   06 Aug 14 23:21:17   
   
   From: Todd@invalid.invalid   
      
   On 08/06/2014 10:51 PM, Todd Vargo wrote:   
   > On 8/7/2014 1:48 AM, Todd Vargo wrote:   
   >> 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.   
   >>   
   >   
   > Never mind, your followup just came in after I posted.   
   >   
      
   Drove me crazy trying to figure that stuff out.   
      
   --- 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