Forum Discussion
YMinaev
Staff
15 years agoHi,
It looks like you're trying to work with Windows Explorer's UI. If so, this is unreliable since its structure is unstable and is different in different OS versions.
For your scenario, a better approach is to open the target file without actually clicking it. For example:
It looks like you're trying to work with Windows Explorer's UI. If so, this is unreliable since its structure is unstable and is different in different OS versions.
For your scenario, a better approach is to open the target file without actually clicking it. For example:
var wshShell = Sys.OleObject("WScript.Shell");
wshShell.Run("\\\\x.x.x.x\\dir\\X\\file.doc");