Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

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

  • 4 odpowiedzi
  • 7 osób ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od 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.

Wszystkie odpowiedzi (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,