>> I'm not quite sure whether i got your point correctly, but have you had
>> a look at FNTOOL? It's kind of a superset of tools like "dirname" and
>> "basename". E.g. "FNTOOL /B C:\TEST\REMASTER\DOS" would return just "DOS".
>> And, as often, there is more than one way to get a job done. An alternative 
>> could be like this: 
>> "cd | tr '\\' '/' | pipeset /C: = unix-path". 
>> All three utilities: "FNTOOL", "TR" and "PIPESET" are part of the DOSUTILS 
>> package.
> Looks like you're right, FNTOOL /B %_CWD% works like a charm.
> Another issue solved after all then despite flaky testing on my side a 
> while ago.

Have you also tried the other alternative?  It should do the job in a 
single  line.

Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
Freedos-user mailing list

Reply via email to