SyntaxFix
Write A Post
Hire A Developer
Questions
I'm using the environment variable COMPUTERNAME:
COMPUTERNAME
copy "C:\Program Files\Windows Resource Kits\Tools\" %SYSTEMROOT%\system32 srvcheck \\%COMPUTERNAME% > c:\shares.txt echo %COMPUTERNAME%