Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Saturday, March 23, 2013

How to mount Folder into the folder from another Drive folder in Windows 7

A symbolic link is a reference to another file or folder on your drive. Symbolic links or short symlinks are originally a linux-only feature, but since 2000 Windows supports them too. The difference between symbolic links and junction points is that a symbolic link can also point to a file or remote SMB network path (which means that you can also create cross-system symlinks, which could come in handy in a network if you don’t want to copy all of the files). Let’s say you want to launch a game or application from another PC, normally, you’d have to copy it to your own PC, but with symlinks you can launch it as long as you are connected to the other PC.

 Create & Remove Junction Points in Windows 7

Download Junction v1.05 for Windows
Copy it somewhere e.g. to \windows\system32\
You can then create junction points via the command line:
CD: C:\Windows\system32
junction.exe “c:\new folder” “d:\path\real folder”
Remove junction points:
junction.exe -d “c:\new folder”




Friday, March 22, 2013

How do you mount a directory as a drive in Windows 7?

How do you mount a directory as a drive in Windows 7?
---------------------------------------------------------
If you have touched DOS before, you might still remember what this old school command subst

is all about. It is a command used for substituting local paths on physical and logical

drives, known as virtual drives. For example, if you want to have a logical drive N: mapped

to a local folder on your computer, say c:\temp, you can simply use the following command to

make it.

    subst N: c:\temp

If you want to have it permanent, there is a really nasty and hidden trick, creating a new

key in the registry.

You have to go to

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices

and there create a key named with the drive letter you want, colon included
(N: in our example) and with this value:

\??\c:\\windows


you can obviously change c: and windows for whatever folder you want, but remember to double the backslash after the unit letter, because it won’t work with a single backslash.
Reboot and enjoy your new N: :)

To Delete the subst drive

subst X: /d


TIP:
There is also a great freeware utility called Visual Subst to make things even easier:












How do you mount a directory as a drive in Windows 7?

How do you mount a directory as a drive in Windows 7?
---------------------------------------------------------
If you have touched DOS before, you might still remember what this old school command subst

is all about. It is a command used for substituting local paths on physical and logical

drives, known as virtual drives. For example, if you want to have a logical drive N: mapped

to a local folder on your computer, say c:\temp, you can simply use the following command to

make it.

    subst N: c:\temp

If you want to have it permanent, there is a really nasty and hidden trick, creating a new

key in the registry.

You have to go to

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices

and there create a key named with the drive letter you want, colon included
(N: in our example) and with this value:

\??\c:\\windows


you can obviously change c: and windows for whatever folder you want, but remember to double the backslash after the unit letter, because it won’t work with a single backslash.
Reboot and enjoy your new N: :)

To Delete the subst drive

subst X: /d


TIP:
There is also a great freeware utility called Visual Subst to make things even easier:












Thursday, October 20, 2011

WAKE ON LAN

1...Enable Wake on LAN in BIOS

2...Download software from http://www.matcode.com/mc-wol.exe and
     save it into c:\>MAC-WOL.exe

3...Run following command

C:\>MC-WOL.exe (mac address of target computer)
i.e
C:\>MC-WOL.exe 00:0e:0c:06:93:b5

You will see that target PC will be Power ON

Sunday, May 15, 2011

How to Configure a Multihomed Server in Windows 7


A multihomed computer has more than one network adapter card or embedded network chip and port installed. Configuring a multihomed computer, in most cases, requires additional settings to ensure that the computer sends information to the intended destination hosts on the network without errors. By adding additional parameters to the network adapter configuration of a multihomed computer, you can avoid errors related to dual network connections.


Instructions

1-
Click "Start" and the "Search" box. Type "ncpa.cpl" (without quotation marks) and press the "Enter" key. The "Network Connections" window will appear.

2-
Right-click on the first network adapter and click the "Properties" item in the menu that appears. Scroll down the list of protocols and double-click on the "Internet Protocol Version 4 (TCP/IPv4)" selection. The "Internet Protocol Version 4 TCP/IPv4 Properties" window will appear.

3-
Click the "Obtain an IP address automatically" radio button and then click "Obtain a DNS server IP address automatically" if the network supports dynamic assignment of IP addresses (DHCP). If the network does not support dynamic IP address assignment, then click the "Use the following IP address" radio button and then click "Use the following DNS server addresses" radio button. Type in the IP address, subnet mask, default gateway IP address and DNS server IP address that are assigned to the first network adapter in the fields provided.

4-
Click the "Advanced" button. The "Advanced TCP/IP Settings" window will appear. Uncheck the "Automatic metric" box and then type a "1" in the "Interface metric" field if network services used most often by the computer are located on the network connected to the first network adapter. Otherwise type a "2" in the "Interface metric" field.

5-
Click "OK" in the "Advanced TCP/IP Settings" window and then click "OK" in the "Internet Protocol Version 4 (TCP/IPv4)" window. Click "OK" in the "Local Area Connection" window to save the configuration.

6-
Configure the second network adapter following the same procedure as the first network adapter. In the "Advanced TCP/IP Settings" configuration window for the second adapter, ensure that the number typed into the "Interface metric" box is a "2" if the first network adapter "Interface metric" box value is a "1", or vice versa, so that the metric values are different for each network adapter and the network adapter with the "Interface metric" box value of "1" is connected to the network that provided the majority of the network services for the computer.

7-
Repeat the procedure above for each additional network adapter, assigning a number in the "Interface metric" box relative to the proportion of use and priority of the network to which the interface is connected.

8-
Click the "Start" button and then click the "Search" box. Type "cmd" in the box. Right-click on the command line icon that appears in the upper left pane and then click "Run as Administrator." On the command line, type "ipconfig /all" and press the "Enter" key. View the command line output and verify that the IP address, subnet mask and gateway IP address for each network adapter is different from the other network adapter.