Maybe you should just try:
//run notepad $qt($$sfile($mircdir))
This will open a file in notepad for you.
alias prun {
var %file = $iif($isfile($1-),$1-,$$sfile($mircdir,Select a file.))
run -p %file
}
You can use this to /prun, and select a file (these need extensions)
alias notepad {
var %file = $iif($isfile($1-),$1-,$$sfile($mircdir,Select a file.))
run notepad $qt(%file)
}
And you can use /notepad, to select a file as well (doesn't need an extension).