We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b936b0 + 6370984 commit 5a1e2d6Copy full SHA for 5a1e2d6
data/templates/scripts/to_powershell.hta.template
@@ -2,6 +2,7 @@
2
Set %{var_shell} = CreateObject("Wscript.Shell")
3
Set %{var_fso} = CreateObject("Scripting.FileSystemObject")
4
If %{var_fso}.FileExists(%{var_shell}.ExpandEnvironmentStrings("%%PSModulePath%%") + "..\powershell.exe") Then
5
- %{var_shell}.Run "%{powershell}"
+ %{var_shell}.Run "%{powershell}",0
6
End If
7
+ window.close()
8
</script>
0 commit comments