Hola soy nueva en esto de hacer scripts y he dado con uno que no entiendo muy bien que hace alguien podría explicarme?? se los agradeceria mucho
@echo off
echo
##############################################
###################>> %DATE:~0,2%-%DATE:~3,2%-
%DATE:~6,4%.csv
echo ######################Ejecucion de
Script########################>> %DATE:~0,2%-
%DATE:~3,2%-%DATE:~6,4%.csv
echo %time:~0,2%:%time:~3,2%:%time:~6,2%;
Ejecución de script>> %DATE:~0,2%-%DATE:~3,2%-%DATE:~6,4%.csv
echo %time:~0,2%:%time:~3,2%:%time:~6,2%;
Conexión FTP:>> %DATE:~0,2%-%DATE:~3,2%-%DATE:~6,4%.csv
echo %time:~0,2%:%time:~3,2%:%time:~6,2%;ftp -s:script.txt
192.168.10.10>> %DATE:~0,2%-%DATE:~3,2%-%DATE:~6,4%.csv
ftp -s:script.txt 192.168.10.10>> %DATE:~0,2%-%DATE:~3,2%-
%DATE:~6,4%.csv
echo %time:~0,2%:%time:~3,2%:%time:~6,2%;
Conexión FTP cerrada>> %DATE:~0,2%-%DATE:~3,2%-
%DATE:~6,4%.csv
echo %time:~0,2%:%time:~3,2%:%time:~6,2%;
Se obtienen derechos sobre la imagen copiada >> %DATE:~0,2%-
%DATE:~3,2%-%DATE:~6,4%.csv
icacls "C:\inetpub\wwwroot\images\back.jpg" /grant IIS_IUSRS:(F)>>
%DATE:~0,2%-%DATE:~3,2%-%DATE:~6,4%.csv
echo %time:~0,2%:%time:~3,2%:%time:~6,2%;
Conexión SSH y Ejecución de JAR en Linux>> %DATE:~0,2%-
%DATE:~3,2%-%DATE:~6,4%.csv
start C:\putty.exe -ssh -2 [email protected] -pw r3d35 -m C:
\comand.cmd
echo %time:~0,2%:%time:~3,2%:%time:~6,2%;
Ejecución de JAR en Linux>> %DATE:~0,2%-%DATE:~3,2%-
%DATE:~6,4%.csv