Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I need to retreive from the string

"Y:\CR_delete_day_types\TEST\XXXX\Extract_prod\saleable_capacity_2013-07-18_1319_153.dat"

the part "_2013-07-18_1319" and put it in a variable so that it can be passed in parameter in the rest of the batch script.

could you help me? thanks in advance

share

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.