How can I automate file property changes

R

rlntemp-gng

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.
 
P

Pegasus \(MVP\)

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top