my2001 Posted October 22, 2004 Share Posted October 22, 2004 Unfortunately I don't have the time to test it so I dare to ask:Assume my cmdlines.txt is as follows: [COMMANDS]"batch1.cmd""batch2.cmd"Will propietary variables (i.e. set command) definied in batch1.cmd for the first time still be available when batch2.cmd is run?thx! Link to comment Share on other sites More sharing options...
jdoe Posted October 22, 2004 Share Posted October 22, 2004 NOYou can SET variables one time in command.cmd and call your batchescmdlines.txt[COMMANDS]"command.cmd"command.cmdset var=variablecall batch1.cmdcall batch2.cmdBTW it was a 10 seconds test so please don't say you didn't have the time to do it Link to comment Share on other sites More sharing options...
my2001 Posted October 23, 2004 Author Share Posted October 23, 2004 thx.and sth about time: I asked about _cmdlines.txt_ which is run during windows installation as u certainly know. And I doubt testing this will last only 10 seconds. *hehe* I know how batch files work but didn't know for how long environment in cmdlines.txt in particular is saved. I was unsure about if cmdlines.txt is like a container/master batch file and everything in it is available everywhere in it. So unfortunately u obviously performed a test under normal circumstances for me whose result I already knew and didn't help answer my question. But don't worry ... I've found the desired answer already. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now