mdiglio
asked on
script to run attrib command
Hello,
I am looking for a script that will enumerate a certain set of folders
then run the attrib command to clear the Archive bit
The directory structure is like this:
Y:\files\a\a\aauser\profil e
Y:\files\z\z\zzuser\profil e
I was hoping to run the command on the 'profile' folder and all its contents
If it matters, the profile folder is always the same level deep in the directory structure
Thank you for any help you can give me
I am looking for a script that will enumerate a certain set of folders
then run the attrib command to clear the Archive bit
The directory structure is like this:
Y:\files\a\a\aauser\profil
Y:\files\z\z\zzuser\profil
I was hoping to run the command on the 'profile' folder and all its contents
If it matters, the profile folder is always the same level deep in the directory structure
Thank you for any help you can give me
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank You; that is exactly what I wanted to do
Pleasure, glad I could help.
Chris
ASKER
The profile folder is just one folder in the user's home directory
I need to leave other folders/files alone
I only want to reset the archive bit on the profile folders