IP address as a output filename + permission to local directory
Posted: 12 Nov 2022 15:11
Welcome to the esteemed group of forumers!
How good that you are..
I wanted to get some advice on a creating batch file because I'm a beginner and don't know how to start. I don't even know if it possible to with bat file.
I would like to create 2 files:
1)
changgne the internet time server from time.windows.com to 192.168.1.100
give modification and write permissions for the c:\share directory
ask for the IP address after which it sets it for the LAN card
2)
file after running displays data from the LAN card like
IP GATEWAY MASK MAC
and saves it as a file named IP.TXT
thanks for any help
How good that you are..
I wanted to get some advice on a creating batch file because I'm a beginner and don't know how to start. I don't even know if it possible to with bat file.
I would like to create 2 files:
1)
changgne the internet time server from time.windows.com to 192.168.1.100
give modification and write permissions for the c:\share directory
ask for the IP address after which it sets it for the LAN card
2)
file after running displays data from the LAN card like
IP GATEWAY MASK MAC
and saves it as a file named IP.TXT
thanks for any help