473,387 Members | 1,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How can I enable the "Encrypting contents to secure data" option of file with script?

6
I want to check or enable the file attribute "Encrypting contents to secure data" only using a scripting such as Batch file. Is it Possible? please i need this asap.. thanks
Aug 30 '08 #1
2 3117
Stang02GT
1,208 Expert 1GB
i don't think you will need a script to do this, there are many options and things you can do from the properties section, when you right click on a file. I would assume since the option is grayed out at first that there is a prerequisite that needs to be meet before that box is enabled. Mean there is something else that needs to be selected or "activated" for that option to appear.
Aug 30 '08 #2
questionit
553 512MB
Hi

Script should be able to do it.

Stand02Gt has a good point but that too could be handled by using parameters in the Script.

Parameters having pre-defined values could perform the Encrypting action same as it is done manually.

Qi
Aug 30 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Steve Jenkins | last post by:
Hi, Wonder if anyone can help. I have a client who would like to have a form-to-mail on their website, but, are concerned about the security of emails sent by such a form. In the passed I...
0
by: John Dalberg | last post by:
How can I enable "list folder contents" ntfs permission only programmatically? The docs for cacls and xcalcs do not have an example to set this up without setting up the other read permissions. ...
3
by: Steven K | last post by:
Hello, I am using an asp page (upload.asp) to gather information and to upload files to the web server using SoftArtisans SAUpload Tool. In the first page (upload.asp), I have a form for...
5
by: Derek Ross | last post by:
Hello, Say I have a server that's saving the CPU temperature to 'temperature.js' once a second. The contents of the file is one single line: var temperature = "35.5"; And it changes as...
3
by: 21novembre | last post by:
Hi all, I made a question several days before to describe my strange trouble of mysqldump. But I still can't figour it out. Well, I just want to ask another question whether I could just backup...
3
by: Lou | last post by:
I created a small database and defined a simple table with about 12 columns. To load the table I imported data from a text file. I got a successful message after importing the data; no error...
11
by: Junkguy | last post by:
I need some help programmatically causing a row in a DataGrid to "flush" its contents to its bound data (in Visual Studio 6 using Windows Forms with C#). My issue is I want to send an update to...
0
by: Peter O'Reilly | last post by:
I receive the following error when I post a webpage: "Unable to validate error" - System.Web.HTTPException. The web page is an ASP WebForm page. I have a few controls on the page that when...
0
by: jhsedona | last post by:
I try to upgrade site from non-ssl to ssl site, but there are too mcuh thing to do. I decide to use url forwarding to https://www.domain.com for my whole site. When i go to 1st page of site, ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.