Open crocokyle opened 3 years ago
Get-Content
is looking for a path. It has nothing to do with permissions. C:\
This issue occurs when users have multiple accounts or old installations of Valorant. It causes the script to fail because there are multiple tokenized folders in AppData\Local\VALORANT\Saved\Config
Plan is to implement a loop for each tokenized folder.
For users who want a workaround, you'll want to only delete the only the single folders that looks like
AppData\Local\VALORANT\Saved\Config\bd20b341-ef13-542a-bcf7-dc3523cc43c9
which corresponds to your old account. For myself, I was able to identify the unused folders by logging in to my active account in Valorant, then look at the folders to see which had a date modified of today. Then I just deleted the folders that were not modified today.
If you are worried about making a mistake, you can always move the folders somewhere else as a backup and then put it back if something breaks.