Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,878 of 68,980    |
|    Herbert Kleebauer to Kenny McCormack    |
|    Re: how do I set the window title to the    |
|    03 May 22 18:43:21    |
      From: klee@unibwm.de              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^%%              --- 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