2010년 5월 7일 금요일

How to Manage Windows Firewall Communication Rules

How to Manage Windows Firewall Communication Rules

Find a Faster DNS Server with Namebench

http://www.howtogeek.com/howto/16372/find-a-faster-dns-server-with-namebench/

How to Use Sparklines in Excel 2010

http://www.howtogeek.com/howto/16759/how-to-use-sparklines-in-excel-2010/

How To Customize Wallpaper in Windows 7 Starter Edition


For more wonderful ways to customize your Windows 7 Started Edition be sure to read our article here.

Links

Download Starter Background Changer

How to Add Control Panel to “My Computer” in Windows 7 or Vista

 
 

Back in the Windows XP days, you could easily add Control Panel to My Computer with a simple checkbox in the folder view settings. Windows 7 and Vista don't make this quite as easy, but there's still a way to get it back.


To make this tweak, we'll be doing a quick registry hack, but there's a downloadable version provided as well.

Manual Registry Tweak to Add Control Panel

Open up regedit.exe through the start menu search or run box, and then browse down to the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\

CurrentVersion\Explorer\MyComputer\NameSpace

Now that you're there, you'll need to right-click and create a new key


If you want to add the regular Control Panel view, with the categories, you'll need to use one GUID as the name of the key. If you want the icon view instead, you can use the other key. Here they are:

  • Category View:  {26EE0668-A00A-44D7-9371-BEB064C98683}
  • Icon View: {21EC2020-3AEA-1069-A2DD-08002B30309D}

Once you're done, it should look like this:


Now over in the Computer view, just hit the F5 key to refresh the panel, and you should see the new icon pop up in the list:


Now when you click on the icon you'll be taken to Control Panel. If you didn't know how to change the view before, you can use the drop-down box on the right-hand side to switch between Category and icon view.


Downloadable Registry Hack

Rather than deal with manual registry editing, you can simply download the file, extract it, and then either double-click on the AddCategoryControlPanel.reg to add the Category view icon, or AddIconControlPanel.reg to add the other icon. There's an uninstall script provided for each.

Download ControlPanelMyComputer Registry Hack from howtogeek.com

 
 

 
 

Complete Guide to Symbolic Links (symlinks) on Windows or Linux


Want to easily access folders and files from different folders without maintaining duplicate copies? Here's how you can use Symbolic Links to link anything in Windows 7, Vista, XP, and Ubuntu.


So What Are Symbolic Links Anyway?

Symbolic links, otherwise known as symlinks, are basically advanced shortcuts. You can create symbolic links to individual files or folders, and then these will appear like they are stored in the folder with the symbolic link even though the symbolic link only points to their real location.

There are two types of symbolic links: hard and soft. Soft symbolic links work essentially the same as a standard shortcut. When you open a soft link, you will be redirected to the folder where the files are stored. However, a hard link makes it appear as though the file or folder actually exists at the location of the symbolic link, and your applications won't know any different. Thus, hard links are of the most interest in this article.

Why should I use Symbolic Links?

There are many things we use symbolic links for, so here's some of the top uses we can think of:

  • Sync any folder with Dropbox say, sync your Pidgin Profile Across Computers

  • Move the settings folder for any program from its original location
  • Store your Music/Pictures/Videos on a second hard drive, but make them show up in your standard Music/Pictures/Videos folders so they'll be detected my your media programs (Windows 7 Libraries can also be good for this)
  • Keep important files accessible from multiple locations
  • And more!

If you want to move files to a different drive or folder and then symbolically link them, follow these steps:

  • Close any programs that may be accessing that file or folder
  • Move the file or folder to the new desired location
  • Follow the correct instructions below for your operating system to create the symbolic link.

Caution: Make sure to never create a symbolic link inside of a symbolic link. For instance, don't create a symbolic link to a file that's contained in a symbolic linked folder. This can create a loop, which can cause millions of problems you don't want to deal with. Seriously.

Create Symlinks in Any Edition of Windows in Explorer

Creating symlinks is usually difficult, but thanks to the free Link Shell Extension, you can create symbolic links in all modern version of Windows pain-free. You need to download both Visual Studio 2005 redistributable, which contains the necessary prerequisites, and Link Shell Extension itself (links below). Download the correct version (32 bit or 64 bit) for your computer.

Run and install the Visual Studio 2005 Redistributable installer first.


Then install the Link Shell Extension on your computer. Your taskbar will temporally disappear during the install, but will quickly come back.


Now you're ready to start creating symbolic links. Browse to the folder or file you want to create a symbolic link from. Right-click the folder or file and select Pick Link Source.


To create your symlink, right-click in the folder you wish to save the symbolic link, select "Drop as…", and then choose the type of link you want. You can choose from several different options here; we chose the Hardlink Clone. This will create a hard link to the file or folder we selected. The Symbolic link option creates a soft link, while the smart copy will fully copy a folder containing symbolic links without breaking them. These options can be useful as well.



Here's our hard-linked folder on our desktop. Notice that the folder looks like its contents are stored in Desktop\Downloads, when they are actually stored in C:\Users\Matthew\Desktop\Downloads. Also, when links are created with the Link Shell Extension, they have a red arrow on them so you can still differentiate them.


And, this works the same way in XP as well.


Symlinks via Command Prompt

Or, for geeks who prefer working via command line, here's how you can create symlinks in Command Prompt in Windows 7/Vista and XP.

In Windows 7/Vista

In Windows Vista and 7, we'll use the mklink command to create symbolic links. To use it, we have to open an administrator Command Prompt. Enter "command" in your start menu search, right-click on Command Prompt, and select "Run as administrator".


To create a symbolic link, we need to enter the following in command prompt:

mklink /prefix
link_path
file/folder_path

First, choose the correct prefix. Mklink can create several types of links, including the following:

  • /D – creates a soft symbolic link, which is similar to a standard folder or file shortcut in Windows. This is the default option, and mklink will use it if you do not enter a prefix.
  • /H – creates a hard link to a file

  • /J – creates a hard link to a directory or folder

So, once you've chosen the correct prefix, you need to enter the path you want for the symbolic link, and the path to the original file or folder. For example, if I wanted a folder in my Dropbox folder to appear like it was also stored in my desktop, I would enter the following:

mklink /J C:\Users\Matthew\Desktop\Dropbox C:\Users\Matthew\Documents\Dropbox

Note that the first path was to the symbolic folder I wanted to create, while the second path was to the real folder.

Here, in this command prompt screenshot, you can see that I created a symbolic link of my Music folder to my desktop.



And here's how it looks in Explorer. Note that all of my music is "really" stored in C:\Users\Matthew\Music, but here it looks like it is stored in C:\Users\Matthew\Desktop\Music.


If your path has any spaces in it, you need to place quotes around it. Note also that the link can have a different name than the file it links to. For example, here I'm going to create a symbolic link to a document on my desktop:

mklink /H "C:\Users\Matthew\Desktop\ebook.pdf" "C:\Users\Matthew\Downloads\Before You Call Tech Support.pdf"

Don't forget the syntax:

mklink /prefix
link_path
Target_file/folder_path

In Windows XP

Windows XP doesn't include built-in command prompt support for symbolic links, but we can use the free Junction tool instead. Download Junction (link below), and unzip the folder. Now open Command Prompt (click Start, select All Programs, then Accessories, and select Command Prompt), and enter cd followed by the path of the folder where you saved Junction.


Junction only creates hard symbolic links, since you can use shortcuts for soft ones. To create a hard symlink, we need to enter the following in command prompt:

junction s link_path
file/folder_path

As with mklink in Windows 7 or Vista, if your file/folder path has spaces in it make sure to put quotes around your paths. Also, as usual, your symlink can have a different name that the file/folder it points to.

Here, we're going to create a symbolic link to our My Music folder on the desktop. We entered:

junction -s "C:\Documents and Settings\Administrator\Desktop\Music"
"C:\Documents and Settings\Administrator\My Documents\My Music"


And here's the contents of our symlink. Note that the path looks like these files are stored in a Music folder directly on the Desktop, when they are actually stored in My Documents\My Music. Once again, this works with both folders and individual files.


Please Note: Junction would work the same in Windows 7 or Vista, but since they include a built-in symbolic link tool we found it better to use it on those versions of Windows.

Symlinks in Ubuntu

Unix-based operating systems have supported symbolic links since their inception, so it is straightforward to create symbolic links in Linux distros such as Ubuntu. There's no graphical way to create them like the Link Shell Extension for Windows, so we'll just do it in Terminal.

Open terminal (open the Applications menu, select Accessories, and then click Terminal), and enter the following:

ln s file/folder_path link_path

Note that this is opposite of the Windows commands; you put the source for the link first, and then the path second.

For example, let's create a symbolic link of our Pictures folder in our Desktop. To do this, we entered:

ln -s /home/maguay/Pictures /home/maguay/Desktop



Once again, here is the contents of our symlink folder. The pictures look as if they're stored directly in a Pictures folder on the Desktop, but they are actually stored in maguay\Pictures.


Delete Symlinks

Removing symbolic links is very simple just delete the link! Most of the command line utilities offer a way to delete a symbolic link via command prompt, but you don't need to go to the trouble.



Conclusion

Symbolic links can be very handy, and we use them constantly to help us stay organized and keep our hard drives from overflowing. Let us know how you use symbolic links on your computers!

Download Link Shell Extension for Windows 7, Vista, and XP

Download Junction for XP

2010년 5월 4일 화요일

가상 컴퓨터와 호스트 컴퓨터 사이의 드라이브 공유

 호스트 운영 체제에서 사용 가능한 드라이브를 가상 컴퓨터와 공유하여 두 환경 간에 더 쉽게 데이터를 주고 받을 수 있습니다.

 
 

 예를 들어 가상 응용 프로그램을 게시한 다음 호스트에서 가상 컴퓨터와 공유하는 드라이브상의 위치(예: 문서 폴더)에 파일을 저장할 수 있습니다.(호스트의 리소스를 공유할 경우 게스트 운영 체제가 호스트 운영 체제인 Windows 7 만큼 안전하지 않을 수 있으므로 잠재적인 보안 위험이 되기도 합니다. 따라서 호스트 드라이브 액세스의 필요성과 잠재적 보안 위험을 모두 평가한 다음, 공유할 드라이브와 공유 시점을 결정해야 합니다.)

 
 

 게스트가 Windows XP일 때, Windows 7 호스트와 게스트 간에 파일 및 폴더를 복사하려면, 최소한 다음 조건을 충족해야 합니다.

  • 호스트에서 게스트로 파일을 복사하려면 호스트의 시스템 드라이브 및 호스트에서 해당 파일 또는 폴더를 저장하는 드라이브를 게스트와 공유해야 한다.
  • 게스트에서 호스트로 파일 및 폴더를 복사하려면 호스트 시스템 드라이브를 게스트와 공유해야 한다.

 어떤 게스트 운영 체제에서든 가상 응용 프로그램을 Windows 7 호스트 운영 체제에 게시할 경우, 호스트 운영 체제상의 응용 프로그램과 아직 연결되지 않은 호스트의 파일은 가상 응용 프로그램과 연결됩니다. 이러한 연결이 작동하려면 파일이 저장된 드라이브가 가상 컴퓨터와 공유되어야 합니다.

 
 

공유 드라이브 관리에 대한 자세한 내용은 Windows 7 기술 라이브러리의 Windows Virtual PC 콘텐츠(http://go.microsoft.com/fwlink/?LinkId=155831)를 참조

 
 

호스트 드라이브를 공유하려면

  1. 가상 컴퓨터 폴더를 엽니다. (시작 메뉴에서 Windows Virtual PC를 클릭합니다. 메뉴 항목이 표시되지 않는 경우 모든 프로그램, Windows Virtual PC 폴더 및 Windows Virtual PC를 차례로 클릭합니다.)
  2. 가상 컴퓨터 폴더에서 가상 컴퓨터의 이름을 마우스 오른쪽 단추로 클릭하고 설정을 클릭합니다. 그러면 Windows Virtual PC 설정 페이지가 열립니다.
  3. 왼쪽 창에서 통합 기능을 클릭합니다. 오른쪽 창에서 드라이브를 클릭합니다.
  4. 드라이브의 목록을 검토하면서 공유하지 않을 드라이브의 확인란 선택을 취소하고, 확인을 클릭합니다.

 
 

참고 항목

Windows Virtual PC

통합 기능 정보

가상 응용 프로그램 게시 및 사용

Enable DreamScene in Windows 7 with DreamScene Activator | The Windows Club

Enable DreamScene in Windows 7 with DreamScene Activator The Windows Club

이 블로그 검색

팔로어

블로그 보관함