LESSOPEN
LESSOPEN is a Windows environment variable that specifies a list of programs that the operating system should use to open files with specific extensions. When a file is double-clicked in Windows File Explorer, the system checks the LESSOPEN variable to see if any of the registered programs can handle the file's extension. If a match is found, the specified program is launched to open the file.
The value of the LESSOPEN variable is a semicolon-separated list of program paths and their corresponding file
LESSOPEN is often used in conjunction with text editors or viewers that support custom file associations. It