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,927 of 42,547    |
|    foxidrive to Todd Vargo    |
|    Re: Drive Parameter in Batch gesucht und    |
|    21 Apr 14 12:47:29    |
      From: foxidrive@server.invalid              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              --- 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