Search found 1 match
- 02 Jun 2015 02:34
- Forum: DOS Batch Forum
- Topic: Obtain IP and the remove last octet
- Replies: 1
- Views: 1921
Obtain IP and the remove last octet
I need to copy 3 *.xmls to a networked device at 850 sites each with the own IP schema. The batch file needs to run, obtain the PC IP address and change last octet to .150 and then map the drive and copy the files. I am obtaining the IP like this: for /F "tokens=2 delims=:" %%i in ('"...