@echo off
set ParentPath=C:UsersadminDesktop
for /f "delims=" %%a in ('dir /s /b "%ParentPath%*.*"') do (
set "FullPath=%%a"
setlocal enabledelayedexpansion
set RelativePath=!FullPath:%ParentPath%=!
set RelativePath=!RelativePath:=/!
>>filelist.f echo,!RelativePath!
endlocal
)