how to change default program to open specified file extension

In registry editor change the key:

HKEY_CLASSES_ROOT\textfile\shell\open\command

and add or modify a value: Type REG_EXPAND_SZ

"c:\tools\notepad++\unicode\notepad++.exe" "%1"

the reg file is:

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Applications\notepad++.exe]
[HKEY_CLASSES_ROOT\Applications\notepad++.exe\shell]
[HKEY_CLASSES_ROOT\Applications\notepad++.exe\shell\edit]
[HKEY_CLASSES_ROOT\Applications\notepad++.exe\shell\edit\command]
@="\"C:\\Program Files (x86)\\Notepad++\\notepad++.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Applications\notepad++.exe\shell\open]
[HKEY_CLASSES_ROOT\Applications\notepad++.exe\shell\open\command]
@="\"C:\\Program Files (x86)\\Notepad++\\notepad++.exe\" \"%1\""

Windows Server IP forwarding

1. Start Registry Editor (Regedit.exe).

2. Locate and click the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

3. Set the following registry values:

Value Name: IPEnableRouter
Value type: REG_DWORD
Value Data: 1

NOTE: A value of 1 turns on (enables) TCP/IP forwarding for all network connections installed and used by this computer.

4. Quit Registry Editor.