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 40,754 of 42,547   
   Todd Vargo to foxidrive   
   Re: variable's lifetime   
   10 Sep 13 17:44:07   
   
   From: tlvargo@sbcglobal.netz   
      
   On 9/10/2013 9:18 AM, foxidrive wrote:   
   > 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.   
      
   For sake of correctness, SETX is not a Windows command.   
   It is a 3rd party add-on utility. :-)   
      
   --   
   Todd Vargo   
   (Post questions to group only. Remove "z" to email personal messages)   
      
   --- 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