.NFO file conversion is easy!

Put simple Tips and Tricks that are not entire Tutorials in this forum
User avatar
SKAN
Posts: 1619
Joined: 29 Sep 2013, 16:58

.NFO file conversion is easy!

04 May 2021, 14:51

https://en.wikipedia.org/wiki/.nfo

A decade back, there was a discussion on .nfo file editors.
The conversion is too simple with AutoHotkey 1.1
Note: Notepad font needs to be a mono-spaced.

Code: Select all

; NFO file conversion
Text := FileOpen("desaster.nfo", "r", "cp437").Read() ; Read
FileOpen("desaster.txt", "w", "utf-16").Write(Text)   ; Write
 
Before:
image.png
image.png (23.08 KiB) Viewed 5759 times
 
 
After
image.png
image.png (19.2 KiB) Viewed 5759 times
My Scripts and Functions: V1  V2
newcod3r
Posts: 505
Joined: 30 Sep 2021, 02:16

Re: .NFO file conversion is easy!

28 Feb 2022, 02:51

Is it possible to script it such that any .nfo file I open is automatically converted to & opened as .txt, or at least displayed correctly in notepad++?
User avatar
SKAN
Posts: 1619
Joined: 29 Sep 2013, 16:58

Re: .NFO file conversion is easy!

28 Feb 2022, 03:17

newcod3r wrote:
28 Feb 2022, 02:51
Is it possible to script it such that any .nfo file I open is automatically converted to & opened as .txt, or at least displayed correctly in notepad++?
Create a compiled script and associate it to .nfo extension.
I can't post an example script, as I don't code in V1 anymore.
ahk7
Posts: 591
Joined: 06 Nov 2013, 16:35

Re: .NFO file conversion is easy!

02 Mar 2022, 15:06

You can simply associate the ahk script with .nfo extension - no need to compile afaik.
jarahbe32
Posts: 1
Joined: 11 Mar 2022, 04:54

Re: .NFO file conversion is easy!

11 Mar 2022, 04:58

is looks so interesting, how you do that
panorama spectrum
router ip login

Return to “Tips and Tricks (v1)”

Who is online

Users browsing this forum: No registered users and 33 guests