How can I automate file property changes

  • Thread starter Thread starter rlntemp-gng@yahoo.com
  • Start date Start date
R

rlntemp-gng@yahoo.com

Hello.

I have used Microsoft's SyncToy utility for quick and dirty backups of
files and that has worked great. I run SyncToy overnight to perform a
lot of other files as well. SyncToy will not, however, back up
encrypted files. Our workplace recently implemented an encryption of
the workstations, particularly the "My Documents" folder and its
subs. As a result, all of my IE favorites are now encrypted. I need
to un-encrypt them so Synctoy will run successfully.

To do that I do the following manually in Windows Explorer:
1. Right click IE file link and choose 'Properties'.
.....then from the Properties window:
2. Click "General" tab.
3. Under "Attributes" at the bottom, click "Advanced".
4. Click OK
5. Click "Apply".
6. Click OK.

I need to apply these 6 steps to about 5,200 files in about 400
folders.
Does anyone have an example of how to automate the 6 steps above using
VBA or VB Script?

Thanks very much.
 
<rlntemp-gng@yahoo.com> wrote in message
news:d44888a2-b858-4193-bf89-92f04d58b0c0@t1g2000pra.googlegroups.com...
> Hello.
>
> I have used Microsoft's SyncToy utility for quick and dirty backups of
> files and that has worked great. I run SyncToy overnight to perform a
> lot of other files as well. SyncToy will not, however, back up
> encrypted files. Our workplace recently implemented an encryption of
> the workstations, particularly the "My Documents" folder and its
> subs. As a result, all of my IE favorites are now encrypted. I need
> to un-encrypt them so Synctoy will run successfully.
>
> To do that I do the following manually in Windows Explorer:
> 1. Right click IE file link and choose 'Properties'.
> ....then from the Properties window:
> 2. Click "General" tab.
> 3. Under "Attributes" at the bottom, click "Advanced".
> 4. Click OK
> 5. Click "Apply".
> 6. Click OK.
>
> I need to apply these 6 steps to about 5,200 files in about 400
> folders.
> Does anyone have an example of how to automate the 6 steps above using
> VBA or VB Script?
>
> Thanks very much.


I don't think scripting is the right answer here. It would be fragile
and very slow to run. Much better to use cypher.exe on your
Favorites folder. Try it first on some test files!
 
Back
Top