Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

a few batch file questions


ghost's Avatar
0 0

ok, I am working on a batch file. In it, I need to be able to input info and then after I press a button, ping the info. I wanna set it as a variable.

Ex.

what is your friend's ip address?? (then here they would put the ip address) "%variable%" press any button to continue…. ping %variable%

please tell me what to do, and maybe show the real code for it….