dir /b /ad-h "%HOMEDrive%%HOMEPATH%\..\" >all.txt
for /f "tokens=* delims=" %%F in (all.txt) do FOR /f %%i IN ('dir /b /a-d "%HOMEDrive%%HOMEPATH%\..\%%F\My Documents\My RoboForm Data\Default Profile\"') DO 7za a "roboform_data_for_%%F" "%HOMEDrive%%HOMEPATH%\..\%%F\My Documents\My RoboForm Data\Default Profile\%%i"
(later in the batch I turn the 7za's to silent exe's install for each user found..)
I only seem to get the current user to work with this cannot get other users like for instance the administrator's one
the dir is in order meaning i got same structure & files at both paths
why wont it read the administrators files in path or for other users in case or "all users"
BTW couldn't get all.txt to read "Default User" as its hidden perhaps
thanks
This post has been edited by sweept: 02 February 2012 - 01:38 PM



Help
Back to top









