Home Q&A Misc

Login Form



Questions and answers
How to create hard links, symbolic links and junction points in Windows 7

To create  hard links, symbolic links and junction points in Windows 7 use this command:

mklink
Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

        /D      Creates a directory symbolic link.  Default is a file
                symbolic link.
        /H      Creates a hard link instead of a symbolic link.
        /J      Creates a Directory Junction.
        Link    specifies the new symbolic link name.
        Target  specifies the path (relative or absolute) that the new link
                refers to.
 
HOWTO send an email from Windows Scripting Host (WSH) script

Starting Windows 2000 there is Collaboration Data Objects (CDO) library supplied with the COM infrastructure.

It simplifies a lot many activity, including send mail tasks.

Read more...
 
HOWTO Set KeepAlive in Apache HTTPd
To set keep=alive parameters in Apache2  Httpd, you need to pay attention to 3 directives:

KeepAlive

KeepAliveTimeout

MaxKeepAliveRequests

Read more...
 
HOW to enable PAE for Windows7 x86

Windows automatically enables PAE if DEP is enabled on a computer that supports hardware-enabled DEP, or if the computer is configured for hot-add memory devices in memory ranges beyond 4 GB. If the computer does not support hardware-enabled DEP or is not configured for hot-add memory devices in memory ranges beyond 4 GB, PAE must be explicitly enabled.

To explicitly enable PAE, use the following BCDEdit /set command to set the pae boot entry option:

Read more...
 
How to monitor Java memory utilization in different generations in Tomcat

Following is a JSP code you can use to monitor memory utilization in different generations (including PermGen):

Read more...
 
How to set session timeout for Tomcat
In web applications every user is identified by a session. The session holds information about the user. A typical example is an internet shop: the contents of your shopping cart is stored in a session.

To prevent the number of sessions to increase infinitely, they are destroyed after certain time of inactivity (time without changing the page) from the user. This is called session timeout. All user data stored in the session disappears (e.g. you have fill your shopping cart again).

Read more...
 
How to set Java options for Tomcat on Windows

For Tomcat 5.5 and later running as Windows service :

Go to the "Apache Tomcat x.x" folder in the Start Menu. Start the "Configure Tomcat".

Or navigate to the bin directory Apache Tomcat installation folder, find Tomcat(version number)w.exe and run it.

Read more...
 
How to install Canon DPP update?

It happened to me that i lost my original Canon CD supplied with my digital camera. I got new PC and needed to have DPP installed there. I downloaded the DPP update from Canon site and installed it. To install  Canon DPP update without having previous version installed, open Registry Editor and create section HKEY_LOCAL_MACHINE\SOFTWARE\Canon\Dpp.

Then run Canon DPP update installer and it will install full DPP version successfully.

 



Copyright © 2010 SmartSoftwareBits.com. All Rights Reserved.