Skip to content

Instantly share code, notes, and snippets.

@AlexArchive
Created September 21, 2014 11:45
Show Gist options
  • Save AlexArchive/dbe3b263a26d0798423c to your computer and use it in GitHub Desktop.
Save AlexArchive/dbe3b263a26d0798423c to your computer and use it in GitHub Desktop.
How to fun F# Script | How to execute .fsx

This section shows you how to associate scripts with F# Interactive on Windows 8.

Note: These steps only take a minute to complete, and you only have to carry them out once.

  1. Download the script to your directory of choice.
  2. Right-click the script, select Open with > Choose default program.
  3. You should be presented with a white window. Click More Options then scroll down and click Look for another app on this PC.
  4. You should then be prompted with an explorer window. Navigate to C:\Program Files (x86)\Microsoft SDKs\F#\<version>\Framework\<version> where <version> is the highest present version number.
  5. Double click Fsi.exe.
  6. You should now be able to run the script as though it were a conventional executable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment