I currently use Windows 10 and I'm running Minecraft 1.8.
I have seen people say run
%appdata&\.minecraft\ but that never worked for me. I really want to download a mod, but I can't until I find this folder.
realms_persistence.json(or other files that are unique to Minecraft).
.minecraftfolder's name got changed, or if it's no longer in
C:\Users\(your pc username)\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\(the string of random characters could vary, I assume).