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 42,129 of 42,547    |
|    Wade Garrett to Char Jackson    |
|    Re: Batch command to put the file name i    |
|    08 Feb 23 20:05:50    |
      XPost: alt.comp.os.windows-10       From: wade@cooler.net              On 2/8/2023 7:23 PM, Char Jackson wrote:       >>> the TITLE command changes the title of the current window at anytime       >>> while the batch is running.       >>       >>The annoying thing about the TITLE command is that, there's no way to       >>restore the original title back, after it has been changed.       >       > Can you store it in a string variable, so that you can set it back to       > the original value later?              What's needed is that string variable to get the file name because the file       name changes depending on the use, and then save it into that variable.              Something like this pseudo code              set TITLE=getfilename(current batch file name)       --       Maybe I was raised wrong, but I was taught if you wanted something,       you worked for it.              --- 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