2025-11-03 10:53:25 -06:00
|
|
|
@echo off
|
|
|
|
|
:: Script: mostrar_hola.cmd
|
|
|
|
|
:: Objetivo: Mostrar el mensaje "HOLA" en pantalla.
|
|
|
|
|
|
2025-11-03 11:39:25 -06:00
|
|
|
:: 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')"
|
2025-11-03 10:53:25 -06:00
|
|
|
|
|
|
|
|
goto :eof
|