05 11月 2010 @ 15:05 

  以前在 Winodws XP 下面玩的存档,在安装 Windows 7 之后,游戏的存档文件夹由游戏安装目录转移到了 D:\Games\Plants vs Zombies\userdata 。但是,我却不希望把存档也拷贝过去,以免系统崩溃时来不及挽救,所以想到了用 Junction !:

  使用下述命令可以解决这个问题!

junction "C:\Users\All Users\PopCap Games\PlantsVsZombies\userdata" "D:\Games\Plants vs Zombies\userdata"

  更多请参考:标签『Junction

 

Posted By: GeoFox
Last Edit: 05 11月 2010 @ 15:05

EmailPermalinkComments (0)
Tags
 01 9月 2010 @ 21:33 

  先说说我的情况:

  1. 现在我有一个文件夹在我的文档下:F:\My Documents\工作文档\作品1\ 。
  2. 我的快盘的同步位置在:F:\My Disk\KuaiPan\ 。
  3. 而我希望用快盘备份文件夹 作品1 下的内容,却又不想挪动这个文件夹。

  在这个情况下我需要用到 Junction 这个软件。

  只需要执行这个命令即可:

junction "F:\My Documents\工作文档\作品1" "F:\My Disk\KuaiPan\作品1"

More »

Posted By: GeoFox
Last Edit: 01 9月 2010 @ 21:33

EmailPermalinkComments (0)
Tags
 01 9月 2010 @ 20:51 

There are three types of file links supported in the NTFS file system: hard links, junctions, and symbolic links. This topic is an overview of hard links and junctions. For information about symbolic links, see Creating Symbolic Links.

Hard Links

A hard link is the file system representation of a file by which more than one path references a single file in the same volume. To create a hard link, use the CreateHardLink function. Any changes to that file are instantly visible to applications that access it through the hard links that reference it. However, the directory entry size and attribute information is updated only for the link through which the change was made. Note that the attributes on the file are reflected in every hard link to that file, and changes to that file's attributes propagate to all the hard links. For example if you reset the READONLY attribute on a hard link to delete that particular hard link, and there are multiple hard links to the actual file, then you will need to reset the READONLY bit on the file from one of the remaining hard links to bring the file and all remaining hard links back to the READONLY state.

More »

Posted By: GeoFox
Last Edit: 01 9月 2010 @ 21:33

EmailPermalinkComments (0)
Tags
 03 4月 2010 @ 13:27 

原文看这儿


NTFS 下的硬链接(hard link)与符号链接(symbolic link)

December 22nd, 2004

在 Linux 使用的 ext2 等文件系统里,都有 hard link 与 symbolic link 的功能,这个功能简单的说就是让我们可以用多个路径去访问同一个文件或者目录。比如说让 /vmlinuz 和 /boot/vmlinuz-2.6.7-1-38 表示的是同一个文件。但 hard link 和 symbolic link 还是有区别的(废话)。

More »

Posted By: GeoFox
Last Edit: 03 4月 2010 @ 13:27

EmailPermalinkComments (0)
Tags
 03 4月 2010 @ 12:47 

原文看这儿


 

NTFS 新特性:Junction 应用详解

前些时无意发现 Vista 的 C:\Documents and Settings 目录和 C:\Users 目录内容完全一样(可能需要调整权限你才能浏览),而且你在这两个目录中对任意一个目录内容做改变,另一个也会做相应的改变,很是“神奇”,后来经过一番探索+搜索,终于有了结果,好东西不敢独享,拿出来给大家分享!

More »

Posted By: GeoFox
Last Edit: 03 4月 2010 @ 13:14

EmailPermalinkComments (0)
Tags

 Last 50 Posts
 Back
Change Theme...
  • Users » 1
  • Posts/Pages » 437
  • Comments » 56
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

关于



    No Child Pages.