rapid7/metasploit-framework — pull request #2535 by 73696e65 (2013-10-17 13:47:23+00:00)
Title: Fix bug #8502, used %PATH% for notepad invocation

We use system %PATH% for notepad executable instead of the absolute
path, because it caused a problem with the migrate script in a 64-bit
meterpreter session. By default the wordpad binary is not in the
%PATH%, so the condition in hp_nnm_ovbuildpath_textfile.rb was not
changed.