Accidentally changed my .json file to an .html, can't change it back...
Hi,
I backed up my bookmarks as a .json file, then upgraded from Windows Vista Home Premium to Windows 7 Professional. Got confused about my bookmark back-up file when Windows didn't recognize the file type (because there was no extension attached to the file), and for some reason used 'Properties' to append the filename with ".html" Now that I recall it's supposed to be imported as a .json, windows won't let me change it back. Even when I add ".json" to the filename, windows (and Firefox) still see it as an html file.
所有回复 (4)
Hello.
You should be able to change it back to .json pretty easy. Just rename the file. If windows doesn't let you do this, you should contact Microsoft for support. Although this may be caused by the very dangerous feature of Windows that is to automatically hide file extensions. You should always have file extensions displayed, at all times, always, otherwise you are incurring in a very dangerous security problem.
On Windows 7, you can go, in the Windows Explorer, into Tools > Folder options... > View > Advanced Settings: and untick Hide extensions for known file types. If that doesn't help, you really need to contact Microsoft for support.
I'm sorry I can't be of more assistance.
You can add quotes around the name to force a file extension: "bookmarks.json"
Otherwise Windows will preserve the hidden .html file extension and add the .json to the left part of the name.
Morbus,
That did the trick. Problem solved. Thanks for the tip.
Cor-el,
In case I need to know how in the future, can you tell me where I could do this? Every time I tried, I'd immediately get a notice that (") is not allowed in a filename.
Thanks,