Option Explicit
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
'测试
Private Sub Command1_Click()
selectitem "e:\mc\mmtest.jpg"
Sleep 10000
selectitem "e:\mc"
End Sub

Private Sub selectitem(ByVal itempath As String)
On Error Resume Next
Shell "explorer /select, " + itempath, vbNormalFocus
End Sub

相关文章:

  • 2021-08-22
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
猜你喜欢
  • 2021-09-18
  • 2023-01-25
  • 2021-09-15
  • 2021-12-21
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案