Set objshell = createobject("wscript.shell")' aqui estar en el escritorioObjshell.sendkeys "{PRTSC}"Set paint = objshell.exec("mspaint")Wscript.sleep 1000Objshell.appactivate paint.processidObjshell.sendkeys "^V"
@echo off:: ...:: aqui tu codigo:: ...call :bytes TU_ARCHIVO.txtpause>nulexit:bytesif ["%~z1"] GTR ["1"] (echo.Es mayor de 1 byte, tiene %~z1) else (echo.Es menor de 1 byte, tiene %~z1)goto:eof
exit /b
exit /b 0
exit /b %t%
echo.exit /b + errorlevelecho.exit /b 69
@echo offcall code.batecho.Errorlevel: %errorlevel%pause>nulexit