DocumentPropertyMenu: Select file when opening from context menu
This commit is contained in:
parent
7e05938ba8
commit
f8ea2c755b
@ -99,8 +99,13 @@ Public Class DocumentPropertyMenu
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
Dim oDirectory = IO.Path.GetDirectoryName(_FilePath)
|
||||
Process.Start(oDirectory)
|
||||
Dim oArgs As String = $"/e, /select, ""{_FilePath}"""
|
||||
Dim oInfo As New ProcessStartInfo() With {
|
||||
.Arguments = oArgs,
|
||||
.FileName = "explorer"
|
||||
}
|
||||
|
||||
Process.Start(oInfo)
|
||||
End Sub
|
||||
|
||||
Private Function TestPathExists(Title As String) As Boolean
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user