Basically I need to do a script that would (from cmd or powershell) search a specific string of numbers and letters in a .log file, copy it, then set it as a variable.
it’d open %LOCALAPPDATA%VALORANTSavedLogsShooterGame.log
, find the string LogShooterGameUserSettings: Logged in user changed: RandomStringOfnumberAndLetters
then copy the RandomStringOfnumberAndLetters
and put it as a variable, then again is that possible with powershell, cmd or a vbs script?
Or if theres a better way to find the name of that RandomStringOfNumberAndLetters. My ultimate goal would be to edit %LOCALAPPDATA%VALORANTSavedConfigRandomStringOfnumberAndLettersWindowsGameUserSettings.ini"
, but now I have the issue that every users pc has a different folder name so I can’t cd to it…