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 40,753 of 42,547    |
|    foxidrive to Anton Bayer    |
|    Re: variable's lifetime    |
|    10 Sep 13 23:18:19    |
      From: not@this.address.invalid              On 10/09/2013 23:09, Anton Bayer wrote:       > Is it possible to make a dos variable from a first windows dos box available       > for a second dos box?       >       > I want to set the name of a backup subdir in a bat file executed at startup,       > and have it available in subsequent dos boxes the user might open later on       > during the rest of the day.       >       > OK, I know I could write it in a file and read it out later, but I would       > like to know if it could be done in memory, f.e. by adding a switch to the       > cmd command, or something like that.       >              SETX is a more recent windows command that can change the master environment.                            --       foxi              --- 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