Search found 2 matches

by Bitmap321
06 Jan 2009 13:38
Forum: DOS Batch Forum
Topic: Parse path into drive/directory/file
Replies: 4
Views: 7587

Thanks jeb
by Bitmap321
05 Jan 2009 15:44
Forum: DOS Batch Forum
Topic: Parse path into drive/directory/file
Replies: 4
Views: 7587

Parse path into drive/directory/file

I have a string %str%=c:\parentdir\childdir\filename.ext
I wont know in advance the length of parentdir,childdir, or filename nor will i know the drive letter

How can i break this out into
c:
c:\parentdir
c:\parentdir\childdir
filename.ext

Thanks,