用VB调用记事本,只需shell "notepad.exe"即可,无需写出notepad的完整路径,
但是当调用IE或者OE时,却要写出完全路径shell "C:\Programe Files\Internet Explorer\IEXPLORE.EXE",为什么?怎么解决
但是当调用IE或者OE时,却要写出完全路径shell "C:\Programe Files\Internet Explorer\IEXPLORE.EXE",为什么?怎么解决
我没有试
注册表中找
HKEY_CLASSES_ROOT\htmlfile\shell\open\command
的值,然后SHELL就可以了
shell "start mailto:"