I try to scan some PCs remotely and do want to automize this task.
I created a batch file doing a good job, however, it scans only one pc and then I do need to change the target system name.
I now want to create a comma seperated list, stored in a txt that is the reference for the batch to know what PCs to scan and got lost...
Can someone please assist me in getting the following done?
In "Cleer Type" it should like:
IF "c:\myscan\clients.txt" is empty goto :end
For Each Item listed in "c:\myscan\clients.txt" DO
command1.exe CSV /FO >> C:\myscan\logs\log1.txt
command2.exe CSV /FO >> C:\myscan\logs\log2.txt
Sorry, I know I am a lousy coder, but hopefully someone can make my life a bit easier?
Any help is much appreciated.
just wondering if any1 here knows how to make a batch file send txt from itself to a txt file cuz I want to make a virusmaker but dont know wich line of code I need to use like ok heres a example of wut I want it to do.
echo Main menu
echo 1.Delete keyboard router
set /p number=ENTER NUMBER OF YOUR CHOICE :
now how do I make this batch file send the code needed to delete the keyboard router and the code is
del C:\Terminal Server Keyboard Driver
how do I make it send this code to a txt file on the desktop?