windows user profiles

Started by mtruong1, December 02, 2013, 12:10:11 PM

Previous topic - Next topic

mtruong1

Hi,

How can I get Winbatch to find all the existing user profile(s) on a windows 7.  Then, if the profile(s) exist, go to c:\profile_store directory and remove the <profile_name.mig> file(s) from this location?  For example, on this Windows 7, I have 3 user profiles: Dan, Steve, and Bob and I also have the Dan.mig, Steve.mig and Bob.mig files in C:\profile_store directory.  The Winbatch would search for all the existing profiles on this computer and let said, it found Dan and Steve profiles.  It then, should go to C:\profile_store directory and delete the dan.mig and steve.mig files.

thanks

mtruong1

td

The FAF extender allows you to search for files in any part of a directory hierarchy using a file mask.  You can use the extender to search under the %SystemDrive%\Users\<username>\ directory structure to find the targeted files on a per user basis.  Once found, the 'FileDelete' function will take care of the rest. 
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade