1.

Solve : How to get the computer's name?

Answer»

So I think I've got the BATCH file just about working, but I need to include the machine's name in the .evt filename.

How do I get the machine's name?


Thanks!I figured that it was an easy answer, but I can't believe how long it took me to find it using google.

For anyone ELSE who MAY not know: %COMPUTERNAME%But you will NEVER forget it will you? I, on the other hand, will forget in five minutes as I don't USE that variable.



Discussion

No Comment Found