PDA

View Full Version : Solved: name of file to launch



philfer
12-24-2007, 07:12 AM
I am using Shell to launch an app.

I have found where the file is located and the file that when I click on it it launches the app, but when I type the address in the Shell function it says file not found.

The file type in properties says "Windows NT Launching Script"

i.e. the path is C:\Data\Apps\ReportWriter

ReportWriter is the name of the app. Within this folder "xplaunch" is the name of the file that when I click on it it launches the app.

But when I do newapp = Shell("C:\Data\Apps\ReportWriter\xplaunch",1)
it says file not found

Do I need to add an extension?

Thanks

ALe
12-24-2007, 07:38 AM
have a look

http://www.erlandsendata.no/english/index.php?d=envbafoldersfileopen