用户 pc appdata
I thought I lost everything today. Well, not really, I have a very regular Backup Strategy (stop reading this blog post NOW and back your stuff up!) so I could get stuff back if I really needed to.
But a laptop died today. It just wouldn't start up and I had to run "Refresh my PC," a very cool feature of Windows that basically mostly reinstalls Windows without reinstalling. It promises not to lose your files. And it's (99%) true, because when I got Windows back up later my Documents and Desktop were just as I left them, untouched by the this major operation.
但是今天有一台笔记本电脑死了。 它只是无法启动，因此我必须运行“刷新我的电脑”，这是Windows的一个非常酷的功能，基本上不需要重新安装即可重新安装Windows。 它保证不会丢失您的文件。 (99％)是正确的，因为当我稍后恢复Windows时，我的Documents和Desktop就像我离开时一样，不受此主要操作的影响。
Fortunately I used Boxstarter, Chocolately, and a list of the programs I have installed as a Gist and was able to get my Windows machine with all my desktop programs back up and running in a few hours. All my files were backed up to the cloud and every file was where I left it.
Except the most important ones. ;)
I launched Minecraft, and saw this. And almost died.
Where's my Minecraft save games/worlds?
I thought Windows promised to not change my files!? Well, sadly Minecraft doesn't save worlds in "My Documents\Minecraft," where it should. It puts them instead in c:\Users\YOURNAME\AppData\Roaming\.minecraft\saves which is basically like a temp folder of sorts for config data.
我以为Windows承诺不会更改我的文件！？ 好吧，遗憾的是，Minecraft并没有在应该保存的“我的文档\ Minecraft”中保存世界。 而是将它们放在c：\ Users \ YOURNAME \ AppData \ Roaming \ .minecraft \ saves中，这基本上就像是用于配置数据的临时文件夹。
Fortunately after my initial freak out, even these files aren't lost, they are in C:\Windows.old\users\YOURNAME\AppData\Roaming\.minecraft\saves along with all your other AppData stuff including the npm-cache, .emacs.d, and other config data you might want.
幸运的是，即使最初的这些文件都没有丢失，它们也位于C：\ Windows.old \ users \ YOURNAME \ AppData \ Roaming \ .minecraft \\ saves以及所有其他AppData文件中，包括npm-cache， .emacs.d，以及您可能需要的其他配置数据。
Move them back, and you're (I'm) all set!
相关链接 (Related Links)
用户 pc appdata