Skip to main content

Posts

[Command]: Copy a Folder to Another Folder and Retain its Permissions

Copy a Folder to Another Folder and Retain its Permissions Click Start , and then click Run . In the Open box, type cmd , and then click OK . Type xcopy source destination /O /X /E /H /K and then press ENTER , where source is the source path for the files to be copied, and destination is the destination path for the files. Example xcopy c:\software d:\software-backup/O /X /E /H /K , and then press ENTER , where  c:\software  is the source folder and  d:\software-backup  is the destination folder. Copy structure of a folder only xcopy source destination /T /E

[windows 10]: Product keys to install Microsoft Windows 10 Preview

Product keys to install Microsoft Windows 10 Preview Windows 10 Home 32-bit/64-bit: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 Windows 10 Pro 32-bit/64-bit: VK7JG-NPHTM-C97JM-9MPGT-3V66T Windows 10 Enterprise 32-bit/64-bit: NPPR9-FWDCX-D2C8J-H872K-2YT43 According to http://windows.microsoft.com/en-us/windows-10/activation-in-windows-10, starting with the November update, Windows 10 (Version 1511) can be activated using some Windows 7, Windows 8, and Windows 8.1 product keys. Windows 10  (Version 1511) can be activated using some Windows 7,  Windows 8 , and  Windows 8.1  product keys.  To check current version, run command winver . Command to check Windows version: winver Microsoft Windows 10 Version 1511

[ChromeOS]: Create a recovery media for your chromebook

Create a recovery media for your chromebook Notes while creating a recovery media for Google Pixel Chromebook . Preparation - USB Flash Drive or SD card at least 4GB I bought  SanDisk Cruzer Edge CZ51 8GB USB 2.0 Flash Drive , Black- SDCZ51-008G-B35 - Internet connection, of course! Install Chromebook Recovery Utility

[Powershell]: Get-Date and commonly used date format

Get-Date and commonly used date format in powershell PS C:\Users\Administrator> get-date Thursday, June 25, 2015 9:42:24 AM PS C:\Users\Administrator> $today = get-date PS C:\Users\Administrator> echo $today Thursday, June 25, 2015 9:43:21 AM PS C:\Users\Administrator> $todayshort = get-date -format yyMMdd PS C:\Users\Administrator> echo $todayshort 150625 PS C:\Users\Administrator> $todaylong = get-date -format yyyyMMdd PS C:\Users\Administrator> echo $todaylong 20150625 PS C:\Users\Administrator>

[Powershell]: Get system information with systeminfo command

Get system information with systeminfo command 1. Create get-systeminfo.ps1 file Use notepad or any text editor to create get-systeminfo.ps1 # Description: powershell script to get computer's system information # get computer name $computername = gc env:computername # get year month date hour minute $today = (get-date).ToString("yyyyMMddHHMM") # get computer's system information systeminfo >> $computername-$today.txt # end of script 2. Create scheduled task to run get-systeminfo.ps1

Google Pixel Chromebook: Notes

The Chromebook Pixel is a laptop at the high end of Google's Chromebook family of machines, which all come preinstalled with Chrome OS operating system.

[GoogleAdsense] Notes from the field

Google AdSense: Notes from the field Cannot open ads in new tab/window Opening the ads in a new window Generally, it is our policy to not allow Google ads to open in a new window. However, in a few markets, including China, we've found that opening ads in a new window better aligns with expected internet behavior and provides a more consistent, intuitive user experience. Keeping in mind the importance of the user experience, we've enabled Google ads to open in new windows in locations where this is expected browsing behavior. This functionality is determined by the IP of the user, and is not an option you can select your AdSense account. We also ask that you don't modify the AdSense  ad code  or alter the result of clicking on an ad on your website, as such behavior violates our program policies.