Skip to content

Instantly share code, notes, and snippets.

@LFriede
Last active July 27, 2025 15:43
Show Gist options
  • Select an option

  • Save LFriede/0b317fffaaae8c4998df7136a51444dd to your computer and use it in GitHub Desktop.

Select an option

Save LFriede/0b317fffaaae8c4998df7136a51444dd to your computer and use it in GitHub Desktop.
This batch file registers the .nfo file extension to display nfo files in console with codepage 437.
ftype nfo=cmd.exe /K "mode con codepage select=437 > nul & copy "%%1" con > nul"
assoc .nfo=nfo
pause
#!/bin/env fish
# If you have dosbox installed anyway you can use this fish script on Linux.
# You can put if in ~/.local/bin/
cp $argv[1] /tmp/nfo.nfo
dosbox -c "mount e: /tmp" -c "more e:\\nfo.nfo"
rm /tmp/nfo.nfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment