how do i get this to actually fill in and save? when i run my script now it has 2 books with blank sheets.
my wrapper file (batch), with computer names removed for safety/brevity:
it gives these errors:
errors:
my wrapper file (batch), with computer names removed for safety/brevity:
Code:
@echo on rem this batch is for cataloguing computers using two other "helpers" rem "helpers" are psinfo and compinfo rem information section is over, turning echo off. @echo off compinfo -l l1.txt -c [a bunch of computer names] >> errlog.txt compinfo -l l2.txt -c [a bunch of computer names] >> errlog.txt
errors:
Code:
E:\lab reports\test19>rem information section is over, turning echo off. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Not a subroutine reference at compinfo.pl line 329. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Can't spawn "cmd.exe": Bad file descriptor at compinfo.pl line 159. Not a subroutine reference at compinfo.pl line 329. E:\lab reports\test19>
Comment