home bbs files messages ]

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,905 of 68,980   
   R.Wieser to All   
   Re: how do I set the window title to the   
   04 Jul 22 20:01:43   
   
   XPost: microsoft.public.windowsxp.general   
   From: address@not.available   
      
   Herbert,   
      
   > That is a good one. For me batch programming is "trial and error" and I   
   > would have never found this solution.   
      
   Although I know know a few things about batch programming, new areas are   
   mostly "trial and error" to me, just like for you.   
      
   It just struck me that if a "^" (escape char) could be used to tinker around   
   with the "%" and "&" marks like you did that there would be a possibility   
   that it would also work when applied to the environment variable.    And as   
   the reason for the "dd" variable was to keep the "%cd%" variable from being   
   resolved too early it was a short step to putting enough "^" markers next to   
   the "cd" chars themselves to keep them from the "%cd% sequence being   
   recognised until the last step.   Putting those "^" between the "c" and "d"   
   just made the whole string look balanced / nice.   
      
   Yep, a lot of "trial and error" I'm afraid.   I've now got a batchfile with   
   over 10 attempts (the ones I cared to keep.  Must have gone thru over 20 of   
   them - including ones with "echo" instead of "title") that all failed in   
   different ways. :-)   
      
   Regards,   
   Rudy Wieser   
      
   --- 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