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 41,531 of 42,547   
   micky to All   
   Is there a way to specify part of the pa   
   25 Feb 17 14:17:33   
   
   XPost: alt.msdos.batch.nt   
   From: NONONOmisc07@bigfoot.com   
      
   Is there a a symbolic variable that specifies part of the path?   
   Specifically the last node (are they called nodes?).  That is, if it's   
   C:\programs\housework\tuesday\ironing.exe  I want to get \tuesday\  with   
   or without slashes.   
      
   It's not necessarily 8 characters long, or any other predictable length,   
   but I could use all the characters after the next-to-last slash, if   
   there's a way to do that.   
      
   --- 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