# Links in scribble to rkt files and the like

**URL:** <https://racket.discourse.group/t/links-in-scribble-to-rkt-files-and-the-like/2096>\
**Category:** Questions & Answers\
**Tags:** question, scribble\
**Created:** [July 12, 2023, 8:44pm UTC](https://racket.discourse.group/t/links-in-scribble-to-rkt-files-and-the-like/2096 "2023-07-12T20:44:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joskoot](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/joskoot/32/1964_2.png) [@joskoot](https://racket.discourse.group/u/joskoot)\
**Post date:** [July 12, 2023, 8:44pm UTC](https://racket.discourse.group/t/links-in-scribble-to-rkt-files-and-the-like/2096/1 "2023-07-12T20:44:40Z")

</div>

In a scribble file (especially scribble/manual) I include hyperlinks to .rkt files and alike. However, clicking a link opens the file in the browser, it does not open it with DrRacket. This problem does not occur in .doc files made with micro-soft office word. How can I instruct scribble/manual to open a file with DrRacket instead in another window of the browser.? Oh yes. I have tried, several bowsers but never achieved my goal.  
Thanks in advance, Jos

---

<div class="post-metadata">

**Author:** ![soegaard](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/soegaard/32/19_2.png) [@soegaard](https://racket.discourse.group/u/soegaard)\
**Post date:** [July 12, 2023, 8:58pm UTC](https://racket.discourse.group/t/links-in-scribble-to-rkt-files-and-the-like/2096/2 "2023-07-12T20:58:44Z")

</div>

That's going to be tricky.

The first step must be to make sure the server is sending the correct mime type.  
In addition you need a header to make it an attachment.

> <https://stackoverflow.com/questions/14080348/how-to-open-html-link-to-local-file-in-its-default-program-not-browser>

---

<div class="post-metadata">

**Author:** ![joskoot](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/joskoot/32/1964_2.png) [@joskoot](https://racket.discourse.group/u/joskoot)\
**Post date:** [July 13, 2023, 6:18am UTC](https://racket.discourse.group/t/links-in-scribble-to-rkt-files-and-the-like/2096/3 "2023-07-13T06:18:21Z")

</div>

Thanks for the pointer. If it is very tricky I probably should forget it.

 ![49C29F22FA914E7CA5B25D35AE6EFB5F.png](https://global.discourse-cdn.com/free1/uploads/racket/original/1X/2e839751fd263c2803de1577258c08f5c6235600.png)
