URI Scheme, launch program in its directory

Posted by ZaKlaus on Super User See other posts from Super User or by ZaKlaus
Published on 2013-10-17T15:54:48Z Indexed on 2013/10/17 16:04 UTC
Read the original article Hit count: 285

I have registered URI scheme for my app. When I open it with "Run.." or in browser, it runs in hosted directory. For ex. Ive opened url in webpage, program's working dir is in browser.

What I want? I want to run program test.exe located at

C:\data\test.exe

and to use dir.

C:\data

so it could use other data in relative path. so test.exe would access file .\file.txt without using absolute path

Hope I wrote it understandable, sorry for bad English.

© Super User or respective owner

Related posts about Windows

Related posts about command-line