F
foxidrive
but how could i analyze the path character by character? for loop
seems could only process token by token
@echo off
set var=%1
echo %var%|find ":">nul&& echo path is absolute
echo %var%|findstr /r "^\\.*" >nul&& echo path is absolute