How to add shortcut on FreeCommanderX to make folder writeable — remove read-only atrribute

Why we need it ?

Eveytime you get lasted code from dimension, when you try to compile, there will a warning about “access decline” because of the read-only attribute of file under _XPC560x_MICROSAR_OS folder. So if we can change it by one click, it will be comfortabel.

 

How to implement ?

Step1. Creat a batch file named “writeAble.bat”, content :

    REM receive input path as parameter

attrib -r %1/*.* /S /D

Step2. Config this bat in FreeCommanderX


then you see the dialog like:


Step3. Now if you want to remove files’s and folders’s “read-only” atrribute under _XPC560x_MICROSAR_OS, navigate to this folder, and then click the WriteAble icon.


So, this files became writeable, and you can compile in Eclipse NOW!

版权申明:

本站保留所有原创文章的版权,本站地址:奔跑的博客[http://www.elecbench.com]

原创文章转载时请注明出处,并添加文章所在页面的链接:https://www.elecbench.com/1619/

本站所有 2010年3月4日 以后发表、未标明为“转载”的文章均是本站原创。

发表评论


(设置自己的个性头像)

申请属于你的免费顶级域名