Quick question about parsing a string in a batch file
Posted on 2008-06-09
Too lazy at the moment to look it up myself. Can someone give me the batch commands to change a Windows path in a string so it can be used with a Unix command?
I need to parse this LocalPath variable....
So I end up with this assigned to a different variable...
The word "/cygdrive" will remain constant as the first part of the new string, basically I need to get the drive letter and folders, reverse the \ and remove the colon in as few lines as possible.