

:: the path will not include a trailing "\" but that could beįor /F %%i in ('cd') do set usbbasepath=%%i :: (nice for testing where you don't have the same directory tree

:: parse off the current drive letter & "root path" :: in my case the path looks like this: \apps\util-syncback, so I need :: traverse as high to your thumb drive's "root" dir as necessary With that realization I found a work-around that should be compatible with at least Win2k, using a DOS command script employing the "FOR" command (I'm not sure about Win98 or ME's 'FOR' implementation). V9.0.8.15 was the last version that can be installed and run on XP/2003.SyncBack is not 100% compatible w/ portable environments however, because its profiles want a complete path ( :\dir\dir\dir\ ) and it won't take a relative root like "\apps\blah." However it will take environment variable substitutions using %VARNAME%.
