Hello again,
I would like to know if it is possible to programmatically encrypt files (with EFS) with vbscript - set the 'encryption flag'.
I've tried to search in this forum and elsewhere, but can't find any mention of any methods anywhere.
I'd be really grateful for help or pointers to information!
What I want to do, is to encrypt files with efs, but keep the timestamp of the file. I've already gotten excellent help from members of this forum.
So far, I've tried the following:
I would like to know if it is possible to programmatically encrypt files (with EFS) with vbscript - set the 'encryption flag'.
I've tried to search in this forum and elsewhere, but can't find any mention of any methods anywhere.
I'd be really grateful for help or pointers to information!
What I want to do, is to encrypt files with efs, but keep the timestamp of the file. I've already gotten excellent help from members of this forum.
So far, I've tried the following:
Code:
Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.Run("cipher.exe /A " & filename, 1, true)