substring using bat command

Posted by user320550 on Stack Overflow See other posts from Stack Overflow or by user320550
Published on 2010-04-22T11:38:29Z Indexed on 2010/04/22 11:43 UTC
Read the original article Hit count: 340

Filed under:
|

Hi all,

I have the following thing in my bat file. say

set path=c:\temp\test

so basically i want to have an output which would give me the result as c:\temp\

i didnt find any indexof equivalent in bat command.

Thanks.

© Stack Overflow or respective owner

Related posts about bat

Related posts about substring