Saturday, December 10, 2011

Compression and Encryption

Right click on any of your files within an NTFS volume and select properties. Select the Advanced button
Compression and EncryptionThis is the window seen when encrypting or compressing a file. The corresponding window for a folder is very similar.
You cannot Encrypt and Compress a file or folder
Files can also be compressed or encrypted from a command line
These commands can also be used to discover the attributes of objects, or to change the attribute of a particular file type.

Switches for the Cipher command

/e encrypts
/d decrypts
/f forces action
/s:x affects directory x
/s: affects current directory
/q gives no reports
/i ignores error and continues
/file1 file2 file3  (note spaces between multiple files)
/*.txt *.doc *.htm  (note use of wildcard)

Switches for Compact command

/c compresses
/u decompresses
/s:x affects directory x
/s: affects current directory
/q gives no reports
/i ignores error and continues
/file1 file2 file3  (note spaces between multiple files)
/*.txt (note use of wildcard)
/f forces action
/a displays hidden or system files

No comments:

Post a Comment