C#,vb.net,MVC,Jquery,javascript,jscript,vbscript,html,vb,sharepoint,COM,WPF,WCF,Wwf,Asp,Asp.net,questions & answers,

Latest in Sports

Thursday, July 19, 2012

How to search and delete a file from computer using Batch file AND How to give all rights to a folder and its subfolders using Batch file

I have to implement the below scenario in my project. So, if you have implemented it in any of your projects then please provide me the solution.
 
Q.1  I have to search for a particular file (say ‘of any extension type’) in all location of computer, and if that file found then delete it from everywhere in computer wherever file exists
.I have to implement it by using Batch file?
 
Q.2  Suppose I have created a folder and in that folder I don’t have rights to read and write. So, how can I get all rights like read and write in that folder and its subfolder through batch file?
 
Thanks
kumar

No comments:

Post a Comment