编程时如果只是调用其它程序打开文件不必引用程序dll,调用系统shell执行更方便。
可用通用的打开各种类型文件的api函数ShellExecute(),
也可以用不必指定文件类型(windows会自动关联)的CreateObject(Wscript.shell).Run和CreateObject(Cscript.shell)
编程时如果只是调用其它程序打开文件不必引用程序dll,调用系统shell执行更方便。
可用通用的打开各种类型文件的api函数ShellExecute(),
也可以用不必指定文件类型(windows会自动关联)的CreateObject(Wscript.shell).Run和CreateObject(Cscript.shell)