Alright, I'm assuming you've missed the point. You're asking for a -c that allows you to select which program to run a file with, right? Or do you mean the windows default "select the program" ?

The reason your "error" occurs is because there is no set program to open up files that have no extension. I'm sure you're aware of this.

You can change "notepad" to almost any program name to open the program.

You can also write a script to select the program to open it with as well..

Code:
alias xrun {
  var %openwith = $qt($$sfile($mircdir)) , %run = $qt($iif($1-,$1-,$$sfile($mircdir)))
  run %openwith %run
}


/xrun, this will ask you for a program to run the file, and then the program to be ran.

/xrun c:\somethingspecial.txt, this will just pop up a window asking you what you'd like to use to open the file.

I guess a -c to force windows to let you choose which program to open it with would be cool. *shrug*

Edit: With a little googling, I have figured out how to do it. :P

Code:
alias _run {
  run rundll32.exe SHELL32.DLL,OpenAs_RunDLL $1-
}


I didn't do anything spiffy with this alias. However, you will need to use the full path of the file, OR the file must be in your mIRC dir. Doing a /_run theme\picture.jpg, will pop up the window, but it won't actually show you the file once you select what to run it with.

/_run C:\blah\blah blah\blue

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