Search found 6 matches
- 26 Jan 2012 00:45
- Forum: DOS Batch Forum
- Topic: Parse a string to get part after "\\"
- Replies: 11
- Views: 13273
Re: Parse a string to get part after "\\"
Excellent I can see clearly now! Guys, thank you so much. Thumbs up / like / +1 etc
- 25 Jan 2012 14:50
- Forum: DOS Batch Forum
- Topic: Parse a string to get part after "\\"
- Replies: 11
- Views: 13273
Re: Parse a string to get part after "\\"
Thanks orange batch, but what I would like is a detailed explanation of what exactly this means : "%foobar:\=" "%" ie. what do the percentage signs and two sets of double quotes signify? Is this a regular expression?
thanks again
thanks again
- 25 Jan 2012 11:56
- Forum: DOS Batch Forum
- Topic: Parse a string to get part after "\\"
- Replies: 11
- Views: 13273
Re: Parse a string to get part after "\\"
Thats a really nice, sharp explanation. It is clear to me now. Heres another question - how does the line below work without "/f" switch?? Can you explain to me what is happening? Is it just the standard version condensed in shorthand? for %%a in ("%foobar:\=" "%") do e...
- 25 Jan 2012 05:43
- Forum: DOS Batch Forum
- Topic: Parse a string to get part after "\\"
- Replies: 11
- Views: 13273
Re: Parse a string to get part after "\\"
Super, thank you so much. I will now read the manual to work out how it works .
- 25 Jan 2012 04:50
- Forum: DOS Batch Forum
- Topic: Parse a string to get part after "\\"
- Replies: 11
- Views: 13273
Re: Parse a string to get part after "\\"
Hi Ed,
thanks for reply. But is that last part truncated? As its not working.
thanks for reply. But is that last part truncated? As its not working.
- 25 Jan 2012 03:51
- Forum: DOS Batch Forum
- Topic: Parse a string to get part after "\\"
- Replies: 11
- Views: 13273
Parse a string to get part after "\\"
Hi folks, I need to parse the following string. set foobar=\\DPTEST\smspkgf$\GLB0001 to extract "DPTEST", ie, inbetween "\\" and first "\". I had tried for %%a in ("%foobar:\=" "%") do echo %%~a but its churning out everything. The readme for the for...