Using cipher to encrypt only folders and subfolders
I am using windows 7 ultimate x64.
I need to find a way to use the cipher command to encrypt only one folder and all its subfolders withouth encrypting the files contained in the folder and in the subfolders.
In XP the chipher command could encrypt a folder and its subfolders leaving unencrypted the files unless you specified the parameter /A but in windows 7 the parameter /S:Directory encrypts subfolders and files too.
Is there a way to make cipher encrypt only one folder and all its subfolders without encrypting the files?
Thanks a lot
Regards
Michele
December 30th, 2010 1:18am
I found out a solution.
Following the syntax to create a batch file:
cipher /E /H "Full_folder_path"
for /f "delims=" %%a in ('dir "Full_folder_path" /b /ad /s') do cipher /E /H "%%a"
Thanks a lot for reading me
Michele
Free Windows Admin Tool Kit Click here and download it now
December 30th, 2010 6:38pm


