When running the sm_edit utility to modify configuration files (such as clientConnect.conf or serverConnect.conf) on a modern Windows operating system, the utility fails to open the file and may display an error message similar to:
The system cannot find the path specified.
or
Cannot execute C:/Program Files (x86)/Windows NT/Accessories/WORDPAD.EXE
All supported Smarts versions
By default, the sm_edit utility on Windows attempts to use WordPad as the text editor. It looks for the executable at a hardcoded legacy path: C:/Program Files (x86)/Windows NT/Accessories/WORDPAD.EXE.
In recent Windows updates (specifically starting with Windows 11), Microsoft has deprecated and removed WordPad from the operating system. Since the executable no longer exists at that path, sm_edit cannot launch the editor to display the configuration file.
You can resolve this issue by explicitly configuring Smarts to use a different text editor, such as Notepad, which is still available on all Windows systems.
To fix the issue for your current command prompt session:
set SM_EDITOR=notepadsm_edit command again:To apply this fix permanently across all sessions:
runcmd_env.batfile on Windows. SM_EDITOR=notepad