Search found 1 match
- 21 Sep 2018 04:46
- Forum: DOS Batch Forum
- Topic: Batch file to copy and rename file with ipaddress.extension
- Replies: 2
- Views: 3948
Batch file to copy and rename file with ipaddress.extension
I'm not too familiar with batch files. Most commonly i use VBA/PHP, but i would like to have this one a go :). I would like to: Fetch the user's IP address, Copy a file, and rename that file to ipadres.extension So the new file name should be the IP. for example: ipconfig | find "IPv4" copy /y Exped...