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,940 of 42,547    |
|    R.Wieser to All    |
|    Re: Is there an opposite to '@' ?    |
|    30 Apr 21 12:53:38    |
      From: address@not.available              John,              >> The question is : is there a prefix that will disable the "echo off"       >> for that one line / command ?       >       > Not that I know of;              I could not think of one either.              > as you say there's ways around it; insert a bare line "CD" after       > the "CD \mydir" is the simplest I can think of.              Ehrmm ... It looks like I got caught out more than once :              I somehow was able to bullshit myself and not recognise it : The '@' prefix       will suppress displaying the batch line itself, but certainly not its       output. And that ofcourse means that, as you said, a 'cd' on a line on its       own, prefixed or not, will display the current directory.              Also, when the batchfile ends the/my $P$G prompt will display the current       directory when asking for input.       IOW, I was told, but I simply did not register it. :-(              > A more tedious solution is to [snip]              I also thought of those, inclusive, after having posted my question, the ">       CON" method. It was during testing of it that I recognised what a load of       crap I had been posting (not the question itself, but that I needed it). :-|              Thanks for the response.              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