Author Topic: windows user profiles  (Read 2040 times)


  • Newbie
  • *
  • Posts: 13
windows user profiles
« on: December 02, 2013, 12:10:11 pm »

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.




  • Tech Support
  • *****
  • Posts: 3455
    • WinBatch
Re: windows user profiles
« Reply #1 on: December 02, 2013, 01:34:42 pm »
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