RESPONDER UNA PREGUNTA

Si para responder la pregunta, crees necesario enviar un archivo adjunto, puedes hacerlo a traves del correo [email protected]

    Pregunta:  28170 - VARIABLES EN DOS
Autor:  Rodrigo Iturrieta
Hola a todos:
Quisiera saber ¿como puedo ingresar variables a un archivo .bat?
me explico, necesito algo como, si por algun motivo alguien olvidó poner la variable al inicio de este, tener la posibilidad de ingresarla una vez ya procesandose el archivo, obviamente con un mensaje, un estilo asi

Se deberia procesar así : C:\>HOLA.BAT C13

FTP SER027
PUT %1.*

Pero por algun motivo se ingresa así: C:\>HOLA.BAT
Necesito algo así
IF %1 = ""
THEN
ECHO "INGRESE VARIABLE"
xxxxxxxxxx %1
ENDIF
FTP SER027
PUT %1.*


Nombre
Apellidos
Correo
Comentarios