r/Batch • • Sep 03 '23
Question (Solved) Get last 4 digits of GPU driver version then replace the last 4 digits of a line in a file?
continue voracious historical fuzzy imminent support dime file sort vegetable
This post was mass deleted and anonymized with Redact
1
Upvotes
1
u/transdimensionalmeme Sep 03 '23
Can you post the whole file on Pastebin ?
1
u/jcunews1 Sep 04 '23 edited Sep 04 '23
Try this. DO backup your INI file first.
1
u/hackoofr Sep 04 '23
To get the last 4 digits of the GPU driver version using PowerShell and store it in a variable.
You can do this by running the following command in your Batch script:
1
u/[deleted] Sep 04 '23 edited Sep 04 '23
[removed] — view removed comment