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,926 of 42,547   
   Todd Vargo to foxidrive   
   Re: Drive Parameter in Batch gesucht und   
   21 Apr 14 01:26:20   
   
   From: tlvargo@sbcglobal.netz   
      
   On 4/20/2014 10:47 PM, foxidrive wrote:   
   > On 21/04/2014 07:22, Todd Vargo wrote:   
   >> ==== Translated to English with inline suggestions =====   
   >>   
   >> Hi folks, I need your help 2 times batch problems.   
   >>   
   >> 1 How do I get the drive letter read   
   >> I want to have ONE batch in which I need the drive as a parameter on   
   >> which the batch is running.   
   >>   
   >> ::====Suggestion-1   
   >> ECHO drive=%0~d   
   >   
   > That got muddled in the translation. ;)   
   >   
   > It should be:   
   >   
   > ECHO drive=%~d0   
      
   Good eye.   
      
   --   
   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