为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Accidentally changed my .json file to an .html, can't change it back...

  • 4 个回答
  • 7 人有此问题
  • 1 次查看
  • 最后回复者为 mazboot

more options

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.

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)

more options

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.

more options

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.

more options

Morbus,

That did the trick. Problem solved. Thanks for the tip.

more options

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,