To add a /? to the right-click context menu that Windows Explorer presents for an .EXE file:

1. Copy / Paste the following into an empty Notepad.exe window:

REGEDIT4

\[HKEY_CLASSES_ROOT\exefile\shell\/?\command\]
@="CMD /K \"%1\" %* /?"

2. Save the file as clhelp.txt.

3. Open a CMD.EXE windows.

4. Type the following command and press Enter:

regedit /s clhelp.txt

5. Delete the clhelp.txt file.

6. Close the CMD.EXE window.

NOTE: To add a /? when you right-click other executable files, use the following clhelp.txt file:

.bat

REGEDIT4

\[HKEY_CLASSES_ROOT\batfile\shell\/?\command\]
@="CMD /K \"%1\" %* /?"

.cmd

REGEDIT4

\[HKEY_CLASSES_ROOT\cmdfile\shell\/?\command\]
@="CMD /K \"%1\" %* /?"