Dim tb As Table=CurrentTable
Dim r As Row=tb.current
Dim ph As String=FileSys.GetParentPath(r("设变点检表"))
Dim proc As new process
proc.File=FileSys.GetParentPath(r("设变点检表"))
proc.start
上面的代码是能自动打开相应的文件夹,在网上看到一条代码
System.Diagnostics.Process.Start("Explorer", "/select,c:\Windows") 打开并选择c:\Windows
代码要如何修改才能实现相同的功能呢,
Dim tb As Table=CurrentTable
Dim r As Row=tb.current
Dim ph As String=FileSys.GetParentPath(r("设变点检表"))
System.Diagnostics.Process.Start("Explorer", "/select,ph") ' 这样写无法打开相应的目录
这个目录或者文件路径的动态语句如何改,请老师帮忙看下,谢谢