batch files

jericho

New Member
hi guys, do u have any idea how to create a batch file that change the name of your computer for you? also can you direct me to a site where i can learn the basics of batch file programming? thanks!
 
I'm not sure you can do that with a batch file, batch files are mostly for basic commands you can preform from the command prompt, deleting files and such. You could probably write a program to do it tho.
 
go to the command line (cmd) and take a look at the command: set

type set /? and you will get help on that command...

If I get some time I will take a look.. once you find the correct command to change COMPUTERNAME

put it into a .bat file and run it... that should work..
 
I was able to change the COMPUTERNAME by entering:

set /p COMPUTERNAME=

and then as the input, I entered XP and it changed it to XP but in the properties it was still the original name and when I logged out and logged back in everything was back to the original
 
thank u for the effort..yeah same thing happened to me as well..guess i'll have to do more research on the internet
 
Back
Top