1.

Solve : HOW TO TAKE COMPUTER NAME TO A TEXT FILE?

Answer» SIR,
how can i take the name of a local MACHINE to a text filein order to take the computer name to a variable
you need to use the command in autoexec.bat

eg:
set computername=edp

after booting win98 you can type the following command to get the computer name

echo %computername%

I got the solution only after WORKING with system at AROUND 3 hoursFor 2K/XP, all you'd have to do is:

echo %computername% >c:\name.txt

The name for this example ends up in the file C:\NAME.TXT


Discussion

No Comment Found