From: gazelle@shell.xmission.com   
      
   In article ,   
   Herbert Kleebauer wrote:   
   >On 03.05.2022 17:30, Kenny McCormack wrote:   
   >   
   >>>set dd=cd   
   >>>doskey cd=cd $* ^&call title %^%dd^%%   
   >>>   
   >   
   >> Final question: Just out of curiosity, why do you omit the usual space   
   >> after the & in your rendition of the doskey command? I know it doesn't   
   >> matter, but it seem "ugly" that way. I've noticed that you've done this in   
   >> the past as well (in prior postings to this ng).   
   >   
   >After the & starts a new command and because I don't insert a   
   >space before a command at the CMD prompt I also don't insert   
   >a space before the command after an &.   
   >   
   >But more important is the space before the &. You can write   
   >the two commands above in one line:   
   >   
   >set dd=cd&doskey cd=cd $* ^&call title %^%dd^%%   
   >   
   >But if you insert a space before the & it doesn't work   
   >anymore:   
   >   
   >set dd=cd &doskey cd=cd $* ^&call title %^%dd^%%   
      
   Yup. All true.   
      
   Ain't DOS batch a fine programming langauge???   
      
   --   
   If you don't have faith, it's because you are reading the Bible with an   
   honest, truthful, real-answer seeking heart.   
      
    - Rick C Hodgin -   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|