Messages - Flatop0315 [ switch to compact view ]

Pages: [1] 2 3next
1
questorfla,

You can change 'modify' to 'Read,Write' in the code to only grant read/write permissions.  If you look under the Security tab for the folder, when you use modify in the code it gives the user additional permissions to Read & execute and list folder contents.  If you use 'Read,Write', then only those permission are set; however, when you go to share the folder, the permissions are now set to custom with the option to change it to read/write or read.  I imagine the custom setting is due to you modifying the permissions from the command line rather then through the GUI.

2
questorfla,

This code should do what you are looking for, at least it works for me.

Code: PowerShell [Select]
  1. $source = 'C:\Employees'
  2. foreach ($i in get-childitem -Path $source -Directory -Name )
  3. {
  4. # This section sets the Permissions on each subfolder found in the parent folder
  5. $Acl = (Get-Item "C:\Employees\$i").GetAccessControl('Access')
  6. $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule($i, 'Modify', 'ContainerInherit,ObjectInherit', 'None', 'Allow')
  7. $Acl.SetAccessRule($Ar)
  8. Set-Acl -path "C:\Employees\$i" -AclObject $Acl
  9. }

3
I have been looking at 4k monitors as well, thinking that I could just change the resolution to my liking.  But from mouser's experience, sounds like that will not be successful. Perfection is a 30 inch at 2560 x 1600, of course that is just my opinion.  I am using a SyncMaster 305T that I got for nothing, since it is known to have over-heating issues; however, upgrading the cooling on it with a couple of USB fans seem to have taken care of that problem.  I think it is funny that people buy these 4 and 5K iMac computers and by default the resolution is set to a lower resolution like 2560 x 1440.  They end up paying extra for something that they will never use.

4
Rjbull, thanks for the suggestion. While Hilitext looked promising, it failed to highlight text in Outlook or in a more basic program like notepad. I am not sure if has anything to do with me running Win7 64-bit. Oh well, thanks again.

5
Hello, I am looking for a way to highlight specific words  such as "keyboard", "mouse", or "monitor" in an Outlook 2010 email with the html format. Outlook has a Find and Replace feature that searches and can highlight one word at a time, but is not practical as it would be just as quick to scan down the page. It may be possible to do this with a macro but the negative side of that, is that a macro can easily stop working when Outlook gets updated to a new version.

The highlighting would make it much easier and faster to determine the items that had been ordered on an invoice. Additional features would be to have the app return the number of times each word appears or perhaps if the word "monitor" was found, it would return say 10 characters to the left of it which would contain the model of the monitor.

The feature would work similar to the search feature on this forum where I searched for the phrase "highlight specific words" and the returned results shows those specific words highlighted as seen in the attached screenshot.

-flatop




Pages: [1] 2 3next
Go to full version