batch files keep looping
I have created several different batch files with commands that run fine when entered from the command prompt directly.
For example:
logman create counter test_log -c "\memory\available mbytes"
It does what it should, but when I paste it into a batch file and execute it. It does not stop processing. It looks like the command just keeps getting typed out but never stops. I have tried using a pause statement and this happens with other scripts as well.
Any ideas?
For example:
logman create counter test_log -c "\memory\available mbytes"
It does what it should, but when I paste it into a batch file and execute it. It does not stop processing. It looks like the command just keeps getting typed out but never stops. I have tried using a pause statement and this happens with other scripts as well.
Any ideas?
Comments
-
blargoe Member Posts: 4,174 ■■■■■■■■■□We'd need the rest of the scriptIT guy since 12/00
Recent: 11/2019 - RHCSA (RHEL 7); 2/2019 - Updated VCP to 6.5 (just a few days before VMware discontinued the re-cert policy...)
Working on: RHCE/Ansible
Future: Probably continued Red Hat Immersion, Possibly VCAP Design, or maybe a completely different path. Depends on job demands...