L
Lee
I have wrote the simplest of batch files which contains
the lines:>
psinfo -h -s \\192.168.81.7 >audit.txt
psinfo -h -s \\192.168.81.8 >>audit.txt
psinfo -h -s \\192.168.81.9 >>audit.txt
(this does it for a whole ip range)
basically psinfo is a tool to audit pc's H/W and S/W on a
network. The -h displays hotkeys and -s is software.
The problem i get is when i run the batch file it runs as
psinfo -h -s \\192.168.81.7 1>audit.txt
psinfo -h -s \\192.168.81.8 1>>audit.txt
psinfo -h -s \\192.168.81.9 1>>audit.txt
Somehow it is inserting a 1 which is causing an error. If
i manually type the line in however the 1 does not appear!
I have 255 nodes to scan so the batch file would be a big
help. Any suggestions to this mysterious 1?!?
the lines:>
psinfo -h -s \\192.168.81.7 >audit.txt
psinfo -h -s \\192.168.81.8 >>audit.txt
psinfo -h -s \\192.168.81.9 >>audit.txt
(this does it for a whole ip range)
basically psinfo is a tool to audit pc's H/W and S/W on a
network. The -h displays hotkeys and -s is software.
The problem i get is when i run the batch file it runs as
psinfo -h -s \\192.168.81.7 1>audit.txt
psinfo -h -s \\192.168.81.8 1>>audit.txt
psinfo -h -s \\192.168.81.9 1>>audit.txt
Somehow it is inserting a 1 which is causing an error. If
i manually type the line in however the 1 does not appear!
I have 255 nodes to scan so the batch file would be a big
help. Any suggestions to this mysterious 1?!?