I am creating an application that put file in user profile. Now, i want to upgrade that file, the problem is, how to find the file that is in the other user profile. I know we can expand environmental variables, but it will only expand the current user only.
Example: The file I create is in %USERPROFILE%\MyApplicationName\Directory\FileIWantToAccess
but then, this application is can be run by many user. Using expand user profile is not helping. so, if we have 2 user or more: UserA\MyApplicationName\Directory\FileIWantToAccess UserB\MyApplicationName\Directory\FileIWantToAccess
if i run it as user Admin, i want to delete all of them, how to find/delete/move them ?