Knowledge Base

How to quickly determine what version of Windows you are using

To determine the version of Microsoft Windows that you are running, follow these steps:

  1. Press the [Windows] key on your keyboard, together with the [R] key.
  2. The “Run” dialog window should appear on your screen.
  3. Type “winver” and press [ENTER] or click OK.
  4. The “About Windows” popup window should appear.

The version number is now displayed.

How to quickly determine what version of Windows you are using was last modified: July 29th, 2016 by tabcom

How to re-apply Windows Server sharing permissions and NTFS permissions for home directories

To re-apply sharing permissions (Everyone, Full) and NTFS permissions on Windows Server home directories, you can use the following script:

dir /b D:\...\UsrHome\ > usrhomeslist.txt
for /F %j in (usrhomeslist.txt) do net share %j$="D:\...\UsrHome\%j" /CACHE:none /GRANT:everyone,FULL
for /F %j in (usrhomeslist.txt) do cacls "D:\...\UsrHome\%j" /t /e /g %j:C

Cacls

/t – “tree” Apply changes to current directory and all sub-directories.
/e – “edit” Edit existing permissions instead of replacing them.
/g – “grant” Grant specified permissions to user or group.  Permissions can be:

  • R (Read)
  • W (Write)
  • C (Change)
  • F (Full Control)

 

How to re-apply Windows Server sharing permissions and NTFS permissions for home directories was last modified: August 25th, 2016 by tabcom

CSS text-shadow outline effect for keeping text easy to read

When placing text over slider background images the text may be difficult to read. This is especially true if the background image is not blurred and contains both light and dark areas. If some of the slider images are dark, you would need to select a lighter color font and if some of the slider images are light, you would need to select a darker color font. This is not always possible.

The most elegant way of dealing with this problem is by using a text-shadow to create a text outline effect (horizontal offset and vertical offset are set to zero).

.title {
 color: #fff;
 text-shadow: 0 0 5px #000;
}

This will create a text shadow with a radius of 5 pixels.  It is not possible to specify the gradient in more detail; it will transition linear from the specified color towards full transparency.

To create a more pronounced outline you can stack a number of text shadow effects like so:

.title {
 color: #fff;
 text-shadow: 0 0 1px #000, 0 0 2px #000, 0 0 3px #000, 0 0 4px #000, 0 0 5px #000, 0 0 6px #000, 0 0 7px #000, 0 0 10px #000;
 }

or with colors inverted:

.title {
 color: #000;
 text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff, 0 0 5px #fff, 0 0 6px #fff, 0 0 7px #fff, 0 0 10px #fff;
 }

It is also possible to create a neutral semi-transparent background color for the container ‘div’ using red-green-blue color codes with alpha for transparency (RGBA):

div#container {
  background-color: rgba(200,200,200,0.5);
}
CSS text-shadow outline effect for keeping text easy to read was last modified: June 9th, 2016 by tabcom