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.
1 parent 601131c commit 6370984Copy full SHA for 6370984
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