I'm trying to append a line in a file (i.e. "c:\test.txt" ) to insert the last 4 characters of the computename. For example if my computername is COMPUTER1234, I would like the script to read the last 4 characters, "1234" and insert it on a line in the text file that reads "NNN = 1234"
Any ideas, thanks?
Any ideas, thanks?