Maybe you should just try:

//run notepad $qt($$sfile($mircdir))

This will open a file in notepad for you.

Code:
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)

Code:
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).

Last edited by Rand; 06/08/06 10:10 AM.