有谁知道如何设置新的命令从启动>运行框启动应用程序?
即.您可以在“运行”框中键入“firefox”,“winword”或“excel”,这些应用程序即使不在系统路径中也可以打开,但是其他应用程序不会打开.例如,使用Firefox,在我的任何系统路径目录中没有名为firefox.*的文件:
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Subversion\bin;c:\Program Files\Microsoft sql Server\90\Tools\binn\
所以必须有一些方法将应用程序与此路径链接以创建快捷方式命令,也许在注册表中?
例如,我希望能够从运行命令启动Google Talk,但是键入可执行文件的名称“googletalk.exe”不会做任何事情,这是有道理的,因为它不在系统路径中,但是也不是firefox.exe,并输入“firefox”作品.
有人有什么想法吗?
从
http://commandwindows.com/runline.htm:
Adding applications to the Path
Alternatively,the Registry can be
edited to explicitly contain the path
to the desired executable file or
files. The Registry key involved
isHKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App
Paths
- Create a new sub-key with the name of the executable file that you
wish to add to the path. e .g.,
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App
Paths\somefile.exe- In this new key,add a string variable named “Path” containing the
value of the the path to your new
executable file,e.g.,C:\Program
files\newprogramfolder\- The new key will already have an empty variable (Default). Edit it to have the string value of entire address of the new program executable,C:\Program files\newprogramfolder\somefile.exe