I see the following in the Explorer:
Now I try to run it using
Shell "C:\Windows\System32\osk.exe", vbNormalFocus
It fails, saying "File not found".
I am confused.
I call:
Shell "C:\Windows\SysWOW64\osk.exe", vbNormalFocus
The same error occurs.
When I use the following function to check for the existance, it also returns False.
Public Function FileExists(ByVal uPath As String) As Boolean
Const NotFile = vbDirectory Or vbVolume
On Error Resume Next
FileExists = (GetAttr(uPath) And NotFile) = 0
On Error GoTo -1
End Function
I am really baffled what might be going on here.