Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

Is it possible to add a bookmark to a disc file (say a text file) and have that file opened via the bookmark?

  • 6 Antworten
  • 2 haben dieses Problem
  • 1 Aufruf
  • Letzte Antwort von leshay

more options

I know it will open within Firefox, but can it be done such that it would open in Notepad etc.

I know it will open within Firefox, but can it be done such that it would open in Notepad etc.

Geändert am von leshay

Alle Antworten (6)

more options

Probably not Notepad. The application displaying the file is responsible for what happens when you click the link, and a plain text editor like Notepad is simply going to place the cursor in the text rather than launching it in the default browser.

What are you trying to accomplish?

more options

Thanks for your reply.

I do in fact want a bookmark to launch Notepad with a fixed text file.

Or, perhaps, open Notepad and also open Windows Explorer at a particular path/folder.

more options

I think I was confused before.

Are you putting both a web page and a text file on the disk, and you want a link in Firefox to open the text file externally in Notepad instead of displaying it in Firefox? There's no convenient way to do that on a local disk. If your two files are hosted on a web server, the web server can mark the file as being for download rather than for display in the browser. But on local disk, there's no way to do that.

If this is for yourself only and not something you need to work on another computer, maybe you can invent a new file extension. For example, instead of .txt you could use .xtx. Then when Windows asks how to open the file, you instruct it to use Notepad. When Firefox encounters this file and has no idea what to do with it, it should present you the Open/Save dialog with the suggestion to open it in Notepad.

Closer?

more options

Hi

Well, I tried that. I created a text file in Notepad, saved it to disc and renamed it with a .xtx extension. Windows asked what to do with it and I associated it with Notepad. I created a bookmark in Firefox and edited the propertied to set the location to the full path of the .xtx file. When I click on the bookmark, Firefox opens the file within Firefox and displays the text. Of course, I can't then edit the file, which is what I want to do.

Geändert am von leshay

more options

Sorry, I'm out of ideas. Why open the file from within Firefox?

more options

Hi

No problem, thanks for your help anyway.