I need to get only first line from Windows cmd command.
Example of command:
dir /b /o-d cert*.pem
it returns:
cert1.pemcert2.pemcert3.pem
How to get only first line to return cert1.pem
?
Operational System: Windows 10
I need to get only first line from Windows cmd command.
Example of command:
dir /b /o-d cert*.pem
it returns:
cert1.pemcert2.pemcert3.pem
How to get only first line to return cert1.pem
?
Operational System: Windows 10