Macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have several files all in the same folder that have their attributes
changed by the backup each night. I now manually select all the files and
change the properties to allow archiving.

There must be an easy macro to do this for me.

Thanks in advance

Lori
 
Sure.

Set your macro Action to "RunApp". In the bottom where it asks for the
Command Line, use:

ATTRIB [Path] +A or -A

For instance, if I have a directory on my C drive called "Files" and wanted
to set the Archive attribute to allow archiving, I'd use:

ATTRIB +A C:\FILES\*.*

Hope this helps.
 

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

Back
Top