Solved

Vbscript to switch off the Read Only attribute of some files?

Posted on 2011-03-01
3
346 Views
Last Modified: 2012-08-14
Hi Experts,

I have a folder in which a few files have the Read Only attribute set.
The attribute is preventing a synchronization tool from updating those files.

I need a script that will switch off the Read Only attribute.

Thanks,

Regards,
Leigh
0
Comment
Question by:LeighWardle
  • 2
3 Comments
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
Comment Utility
The DOS command should do it:
attrib -r *.*

Regards,

Rob.
0
 
LVL 1

Author Closing Comment

by:LeighWardle
Comment Utility
Thanks, Rob.

Cheers,
Leigh
0
 
LVL 65

Expert Comment

by:RobSampson
Comment Utility
No problem.

Rob.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In this article we want to have a look at the directory attributes which are used by Microsoft to store the so called Security Identifiers (SID). These SIDs plays an important role in delegating and granting permissions and in authentication of trus…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now