Question

 How to ping a site and save the IP as a variable in a batch file?

Answer for /f "Tokens=2 Delims=[] skip=1" %%i in ('ping -n 1 %computername%') do set IPAdress=%%ihttp://wiki.winboard.org/index.php/Eigen…
http://uk.answers.yahoo.com/question/index?qid=20121125063426AApYMna


Related Videos

Top Q&A For: How to ping a site and save the IP as a variabl...

What Is a Batch File?

A batch file is a file used by either a Windows operating system, DOS, or OS/2. They are text files, which contain a string of commands to be interpreted in order by a command interpreter. This mea... Read More »
http://www.wisegeek.com/what-is-a-batch-file.htm

How to Convert an Excel Batch CSV to an XLS File?

A batch CSV file contains the result of many different Comma Separated Value, or CSV, files integrated into a single file. This file can then be loaded into Excel and saved as an XLS document. The ... Read More »
http://www.ehow.co.uk/how_8617816_convert-batch-csv-xls-file.html

How to Press Buttons in Batch File?

Batch files allow you to automate many computer tasks by saving a list of commands in a ".bat" file. You can automate DOS commands easily in a batch file and schedule the tasks to run at specified ... Read More »
http://www.ehow.co.uk/how_7788761_press-buttons-batch-file.html

Log the whole output of batch file?

logontemplate.bat >>C:\pathtomyfile\LogFile.txtI'm assuming the.. logontemplate.bat must be in the same folder..As the running batch script.. Have you tried..CALL logontemplate.bat >>C:\pathtomyfil... Read More »
http://uk.answers.yahoo.com/question/index?qid=20130205054927AA7yiSy


feedback
loading