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 41,942 of 42,547   
   Thomas Langer to All   
   Re: Is there an opposite to '@' ?   
   30 Apr 21 12:54:12   
   
   From: spam4nl@langer-online.net   
      
   There is an environment variable %cd% that is automatically getenerated   
   by os.   
      
   try:   
   echo %cd%   
      
   hth   
   Thomas Langer   
      
   Am 30.04.2021 um 10:30 schrieb R.Wieser:   
   > Hello all,   
   >   
   > Yesterday I got caught out by a batchfile (which I wrote myself :-) )   
   > changing the current directory - I thought I was still in the old one ...   
   >   
   > I decided that I would need to make that 'cd' (its output) visible (I've   
   > used "@echo off" at the top).   I can ofcourse do that in a number of ways,   
   > but the cleanest way would be if I could allow the 'cd' command to display   
   > its output.   
   >   
   > The question is : is there a prefix that will disable the "echo off" for   
   > that one line / command ?   
   >   
   > 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