Click to See Complete Forum and Search --> : Open file with specific program


TH1
09-13-2003, 03:15 PM
Hi,
I want to open a file (for example: itsme.abc) with a specific program, like program.exe.
Is that possible in asp? Where do a start?

Greetz,
TH.

rdoekes
09-14-2003, 02:48 AM
You could try the Windows Script Hosting Shell

Set wShell = WScript.CreateObject("WScript.Shell")
intReturn = wShell.Run("program.exe itsme.abc", 1, true)
See here documentation:
http://www.devguru.com/Technologies/wsh/quickref/wshshell_Run.html

Hope this helps,

-Rogier Doekes

TH1
09-14-2003, 04:17 PM
Thank Rogier,
your answer got me in the right direction. I've got it working now !

TH.