This is the command line i want to run on my windows xp machine
arp -s 192.168.1.1 11-22-33-44-11-22
I tried ti make code like this into arp.bat
arp -s 192.168.1.1 11-22-33-44-11-22
exit
When i double click on it . It keep window command prompt open and command repeat over and over
UPDATED MY QUESTION : How can i make it run one time only and exit the command prompt after finish the execute ?
Or
If there anyway to make this command
arp -s 192.168.1.1 11-22-33-44-11-22
run when windows start
Or
If there any way to make this file run one time using different method than regular batch file in windows xp
Answer
ok i found the problem
when i created the batch i saved under the name arp.bat this is was the problem the command keep repeating itself never quit
I renamed the arp.bat to batch.bat or any name not related with arp word and it works well with no problem
No comments:
Post a Comment