Posts

Showing posts from December 11, 2018

Unable to decrypt EFS files with cipher command

Image
up vote 0 down vote favorite I tried to decrypt a EFS file with the built-in cipher command: cipher -d "D:sample.txt" , and here's the output: Listing C:WindowsSystem32 New files added to this directory will not be encrypted. Listing D: New files added to this directory will not be encrypted. E sample.txt Here's the screenshot. After the command was executed, I rebooted my computer and found the target file is still protected by EFS. How can I get the cipher command to work? The system is Windows 10. Thanks! Update: Here's what I got when run the command cipher "D:*" : Listing D: New files added to this directory will not be encrypted. E sample.txt encryption efs decrypt sh

seq() with multiple increments

Image
up vote 0 down vote favorite I'd like to create a sequence with three different increements. From 6 to 15 for example an increment of 0.7 . The folowing sequence should start with the last number of previous sequence (in this case 14.4). By this I want to model the diameter increment of a tree dependant on the diameter-class (small 6-14.99; medium 15 - 29.99; big >30). dbh <- c(seq(from = 6, to = 15, by = temp$DBH_growth[temp$dbh_class == "sma"]), seq(from = 15, to = 30, by = temp$DBH_growth[temp$dbh_class == "med"]), seq(from = 30, to = 300, by = temp$DBH_growth[temp$dbh_class == "big"])) Like this code, but starting with the last number of the sequence before. r seq