1.

Solve : batch file: need help?

Answer»

Hi all! I have a PROBLEM NEEDED help.
I have to create a BATCH file asking user to input an IP address, then run another program using this input.
Please, help me as soon as possible. Thank you.if you are using Windows 2000/XP

use the SET /P switch

SET /P GETIP="Enter your IP Address please: "

the answer will be stored in %GETIP%

OFFCOURSE you will have to do complex testing to verify
the values are not bogus to START with.

GETIP=192.168.0.1



Discussion

No Comment Found