this works (notepad++):
c:\anywhere> start notepad++ hello.txt
and works (sox removing silence in sounds):
c:\anywhere> sox in.wav out1.wav silence 1 0.1 1%
yet, path variable includes neither (would send on request).
how can program?
run everywhere.
also, why doesn't notepad++ work without start
command?
(i did workaround putting .exe in c:\ , calling c:\anywhere> /myprogram
i'm still curious above.)
to indicated scenario
- you can start applications anywhere using
start
command (or windowsrun
dialog) without including parent folder inpath
variable, - but can not start application without
start
command directory whithout including full path reach (it not inpath
) or being located in adecuated directory
the applications included in registry under key
hkey_classes_root\applications
note: "merged" view showing combined contents of
hkey_local_machine\software\classes\applications hkey_current_user\software\classes\applications
if not administrator change local machine configuration, can modify user registry information include applications need.
edited there second place in registry allow include application in registry executed using start
command, run
dialog or uses shellexecute
or shellexecuteex
api calls.
hklm\software\microsoft\windows\currentversion\app paths\
Comments
Post a Comment