Timeline for replace variable output in one batch from another batch
Current License: CC BY-SA 4.0
27 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 15, 2022 at 20:22 | history | edited | acgbox | CC BY-SA 4.0 |
added 1 character in body
|
Oct 31, 2022 at 18:32 | answer | added | T3RR0R | timeline score: -1 | |
Oct 31, 2022 at 17:37 | comment | added | T3RR0R | All you need do is: On executing 2nd batch store the values to a file if said storage file does not exist, else if it does exist, retrieve the data from said storage file. | |
Oct 30, 2022 at 19:26 | history | edited | acgbox | CC BY-SA 4.0 |
added 102 characters in body
|
Oct 29, 2022 at 21:03 | history | edited | acgbox | CC BY-SA 4.0 |
added 324 characters in body
|
Oct 29, 2022 at 20:55 | history | edited | acgbox | CC BY-SA 4.0 |
deleted 853 characters in body
|
Oct 29, 2022 at 15:25 | history | edited | acgbox | CC BY-SA 4.0 |
added 731 characters in body
|
Oct 28, 2022 at 21:56 | vote | accept | acgbox | ||
Oct 28, 2022 at 21:05 | comment | added | Vomit IT - Chunky Mess Style | Okay, I undeleted it since you said it was close and should not have been deleted—I thought I was way off. I deleted some of my other comments, but if interested in 100% pure batch executed script with PowerShell helper logic that gets executed within a batch script, let me know and I can append another variation to my answer with that. Maybe your systems restrict powershell.exe though or you aren't aware powershell.exe can be used in a batch script just like sed or fart can but it more robust and Windows native with no 3rd party needed. Just let me know and I'll be happy to try to help more. | |
Oct 28, 2022 at 20:37 | comment | added | acgbox | @VomitIT-ChunkyMessStyle. There was no need for you to remove your post as your answer is pretty close to what I'm looking for | |
Oct 28, 2022 at 15:51 | history | edited | acgbox | CC BY-SA 4.0 |
deleted 11 characters in body
|
Oct 28, 2022 at 15:14 | history | edited | acgbox | CC BY-SA 4.0 |
added 124 characters in body
|
Oct 28, 2022 at 15:09 | comment | added | acgbox | You're right, but it should be a definite replacement, with data, not other variables | |
Oct 28, 2022 at 14:51 | history | edited | acgbox | CC BY-SA 4.0 |
added 569 characters in body
|
Oct 28, 2022 at 13:27 | history | edited | acgbox | CC BY-SA 4.0 |
added 27 characters in body
|
Oct 28, 2022 at 13:21 | comment | added | acgbox | Unfortunately I can't merge the scripts (I wish I could) and I can't use powershell either (it doesn't go with my environment). I am trying with fart-it program and it has worked very well for this purpose (sourceforge.net/projects/fart-it), but I would like to know if there is another solution (in batch, cmd) that does not depend on external programs. | |
Oct 28, 2022 at 13:06 | history | edited | acgbox | CC BY-SA 4.0 |
added 425 characters in body
|
Oct 27, 2022 at 23:35 | answer | added | Vomit IT - Chunky Mess Style | timeline score: 1 | |
Oct 27, 2022 at 23:09 | history | edited | acgbox | CC BY-SA 4.0 |
added 58 characters in body
|
Oct 27, 2022 at 23:03 | history | edited | acgbox | CC BY-SA 4.0 |
added 378 characters in body
|
Oct 27, 2022 at 21:50 | answer | added | Narzard | timeline score: 1 | |
Oct 27, 2022 at 20:12 | history | edited | acgbox | CC BY-SA 4.0 |
added 293 characters in body
|
Oct 27, 2022 at 19:50 | comment | added | Narzard | are you hard set on using cmd and not powershell? Is combining the 2 scripts into one a possibility? As-is, you can append all the data to a text file and then read it in on the second bat and delete the file after it processes the variables. | |
Oct 27, 2022 at 19:24 | history | edited | acgbox | CC BY-SA 4.0 |
added 79 characters in body
|
Oct 27, 2022 at 18:14 | answer | added | harrymc | timeline score: 0 | |
Oct 27, 2022 at 17:38 | history | edited | acgbox | CC BY-SA 4.0 |
added 6 characters in body
|
Oct 27, 2022 at 17:33 | history | asked | acgbox | CC BY-SA 4.0 |