Microsoft How to use “xcopy” comamnd to copy all data from one volume to another, including hidden and system files

​You can use xcopy to copy all data from one volume to another, including hidden and system files, using the command

xcopy <source volume> <target volume> /s /e /r /c /h /k /o /x /y  

The switches mean:

  • /s—system files
  • /e—copies folders and subfolders, including empty ones
  • /r—overwrites read-only files on destination
  • /c—continue on errors
  • /h—hidden files
  • /k—copy all attributes
  • /o—copy file ownership and ACL information
  • /x—copy file audit settings
  • /y—suppress prompt to overwrite existing file

How to schedule your computer to shutdown using batch script (.bat)

This is an easy batch script (.bat) to shutdown your Windows with specific time you want with the alert message 60 seconds before it executes.

To do so, create a batch file (anyname.bat) with the following content:

@echo off
:W
if %time%==17:00:00.00 goto :X
goto :W
:X
shutdown.exe /s /f /t 60 /c "Your computer will shutdown in 60 seconds, please save your tasks."

Enjoy 🙂

How to use “route” command on Linux

Route command is used to show/manipulate the IP routing table. It is primarily used to setup static routes to specific host or networks via an interface.

Let’s start with some very basic…

1. Running route at the command line without any options will display the routing table entries:

#route

2. Learn to add and remove routes from your routing table:
eth0 : Exit interface

gw : GateWay

#route add -net 192.168.0.0/24 dev eth0
#route del -net 192.168.0.0/24 dev eth0

#route add -net 192.168.0.0/24 gw 192.168.10.1
#route del -net 192.168.0.0/24 gw 192.168.10.1

That’s all!

Which ports are used by TeamViewer?

TeamViewer-Feature-Image-644x250.jpg?97885c
In general, TeamViewer will always work if surfing on the Internet is possible. Hence, no firewall configuration is required.

As an alternative to port 80 HTTP, port 443 HTTPs is also being checked. In addition, it is also possible to open only port 5938 TCP on the outgoing side (required for mobile connections). Data traffic should then be able to pass through on this port without any problems.

Source: https://www.teamviewer.com/en/help/334-Which-ports-are-used-by-TeamViewer.aspx

Can TeamViewer be used within a local network (LAN) only?

​You can establish Remote control sessions on your local network directly by using IP addresses or computer names. By default this feature is deactivated because software firewalls may open an acceptance dialog when configured this way.

To activate the LAN mode in TeamViewer full version and Host module:

  1. In the menu click on Extras and then on Options
  2. On the General tab activate Accept incoming LAN connections

When selecting accept exclusively it will display the IP-address of the computer in the ID-field.

A connection can now be established using the IP-address or alternatively using the host name.

Source: https://www.teamviewer.com/en/help/40-Can-TeamViewer-be-used-within-a-local-network-LAN-only

Subversion control (SVN)

Subversion is a free/open source version control system (VCS). That is, Subversion manages files and directories, and the changes made to them, over time. This allows you to recover older versions of your data or examine the history of how your data changed.

It is mostly used in web development (web project).

Installation on Ubuntu:
command line tool: Subversion
Installation:
sudo apt-get install subversion
Checking version:
svn –version
Uninstall:
sudo apt-get remove subversion

Read more: http://askubuntu.com/questions/258151/how-to-install-subversion-client-in-ubuntu

GUI tool: Installing RabbitVCS
sudo add-apt-repository ppa:rabbitvcs/ppa

deb http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu **DISTRIBUTION** main

sudo apt-get update

sudo apt-get install «packages»
…where packages are
rabbitvcs-nautilus3 for the Nautilus 3.x extension (use this for Ubuntu 11.10, Oneiric Ocelot)

rabbitvcs-nautilus for the Nautilus 2.x extension
rabbitvcs-thunar for the Thunar extensions
rabbitvcs-gedit for the GEdit extension
rabbitvcs-cli for the command line launchers

Read more: http://wiki.rabbitvcs.org/wiki/install/ubuntu

Print slides with or without speaker notes

It’s actually simpler to print slides without speaker notes than with them – in fact, there is only one way to print speaker notes with slides.

  1. Click the File > Print.
  2. Under Settings, click the second box (which defaults to say Full Page Slides), then under Print Layout, clickNotes Pages.
    Print speaker notes
    Notes Pages prints one slide per page, with speaker notes below. The Preview Pane shows you what each layout option looks like.
  3. Put in the other settings, such as which slides you want, how many copies, and so on.
  4. Click Print.

The other options under Print Layout, and all of the options under Handouts, print only slides or slide content, not speaker notes.

To learn more about printing PowerPoint slides, see Print a presentation in black and white or grayscale.

Source