Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.
@echo off set CDROM=d: SET FTPHOST=192.168.1.2 SET FTPUN=administrator SET FTPPW=password SET FTPDIR=directoryname setlocal enabledelayedexpansion :_manualvariables set /P sel1=Do you wish to change the defaults? [Y, (N)]: if /I "%sel1%"=="n" goto :_header if /I "%sel1%"=="y" goto :_sethost goto :_header :_sethost set /P sel2=Enter the new IP Address [%FTPHOST%]: if not "%sel2"=="" goto else goto :_setrun goto endif :else SET FTPHOST = %sel2% :endif
Join the community of 500,000 technology professionals and ask your questions.