Files
policies/Políticas/cargar_imagen.cmd

14 lines
316 B
Batchfile

@echo off
setlocal
:: Crear el directorio si no existe
if not exist "C:\shared" (
mkdir "C:\shared"
)
:: Descargar la imagen
powershell -Command "Invoke-WebRequest -Uri 'https://cdn.apps.lci.ulsa.mx/centro-experiencia/img0.jpg' -OutFile 'C:\shared\img0.jpg'"
echo Imagen descargada a C:\shared\img0.jpg
pause