1.2.3.4.5.6.7.8.9.10.11.12.13.
:unittest.MakeAbsolute :$created 20080219 :$changed 20080219 :$source https://www.dostips.com for %%C in ( "..\..\windows\win.ini" "..\..\windows\..\windows\win.ini" ".\..\.\..\windows.\.\..\windows\win.ini" ) do ( set "s=%%~C" call:MakeAbsolute s call:Format "[35] [35]." "'%%~C'" "'%%s%%'" ) EXIT /b
---- :unittest.MakeAbsolute - output '..\..\windows\win.ini' 'C:\WINDOWS\win.ini' . '..\..\windows\..\windows\win.ini' 'C:\WINDOWS\win.ini' . '.\..\.\..\windows.\.\..\windows\wi 'C:\WINDOWS\win.ini' . ----