Update tests/mostrar_hola.cmd
This commit is contained in:
10
tests/mostrar_hola.cmd
Normal file
10
tests/mostrar_hola.cmd
Normal file
@@ -0,0 +1,10 @@
|
||||
@echo off
|
||||
:: Script: mostrar_hola.cmd
|
||||
:: Objetivo: Mostrar el mensaje "HOLA" en pantalla.
|
||||
|
||||
:: Comando de PowerShell corregido:
|
||||
:: Agrega el ensamblado PresentationFramework para hacer que [System.Windows.MessageBox] este disponible.
|
||||
|
||||
powershell -Command "Add-Type -AssemblyName PresentationFramework; [System.Windows.MessageBox]::Show('HOLA')"
|
||||
|
||||
goto :eof
|
||||
Reference in New Issue
Block a user