extract few characters from a file by using batch script

Posted by user136104 on Stack Overflow See other posts from Stack Overflow or by user136104
Published on 2010-02-04T08:09:00Z Indexed on 2010/06/02 4:03 UTC
Read the original article Hit count: 298

Filed under:
|
|

Hi All,

I want a batch script which will extract the first 30 characters from a file.

Requirement:

there is one file called test.txt and it's content is

\765514e2aad02ca658cc56cdb7884947 *E:\test1

now I need a script which extract only \765514e2aad02ca658cc56cdb7884947 from the above file

Thx in advance

© Stack Overflow or respective owner

Related posts about batch

Related posts about batch-file