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,730 of 42,547   
   foxidrive to Todd Vargo   
   Re: FOR /F and delims=\ string processin   
   15 Aug 13 14:46:53   
   
   From: not@this.address.invalid   
      
   On 15/08/2013 13:46, Todd Vargo wrote:   
   > On 8/14/2013 8:05 PM, foxidrive wrote:   
   >> On 15/08/2013 07:40, Todd Vargo wrote:   
   >>   
   >>>> For me trying to understand the command line, I ask what does the "\."   
   suffix do?   
   >>   
   >> Thanks Todd, for supplying the answers.  The \. sets the current folder at   
   the end of the path, for when   
   >> the path has a trailing \ so that it then also returns the correct folder.   
   >   
   > AFAIK, the only time %cd% returns a trailing \ is when the root folder   
   > is current. Are there other instances?   
      
   No, you are quite right that it was not needed in this instance.  I was   
   clarifying that it was just there   
   because it always works, and fixes the times when it is needed.   
      
      
   --   
   foxi   
      
   --- 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