var WshShell = WScript.CreateObject('WScript.Shell'); WshShell.Run('explorer /select, C:\\test.hz'); WScript.Sleep(100); WshShell.SendKeys(' ~');