无忧启动论坛

标题: 寻找Vista 文件mklink.EXE [打印本页]

作者: nn2nn    时间: 2007-10-3 12:08
提示: 作者被禁止或删除 内容自动屏蔽
作者: zhaohj    时间: 2007-10-3 12:30
低于VISTA的系统用junction
如:junction D:\LINK D:\WINDOWS 意思是创建一个名为 D:\LINK 的 junction 目录,指向  D:\WINDOWS ,可以看到 D:\LINK 和 D:\WINDOWS 文件夹内容一模一样,如果你对其中任意一个文件夹里面的内容做修改,另一个也会相应的改变。而且磁盘空间使用量没有改变哦,因为只是实现连接罢了,并不是将原文件复制以及同步。
      如果你不想要这个连接目录,以及目录中的所有内容,直接按 Shift + Delete 删除好了。
  如果你只是想删除这个连接目录,但是保留原目录中的内容,则应该使用 junction 的 -d 参数进行删除。例如:junction -d D:\LINK

[ 本帖最后由 zhaohj 于 2007-10-3 12:32 PM 编辑 ]

Junction.zip

45.29 KB, 下载次数: 503, 下载积分: 无忧币 -2


作者: nn2nn    时间: 2007-10-3 12:44
提示: 作者被禁止或删除 内容自动屏蔽
作者: nn2nn    时间: 2007-10-3 13:02
提示: 作者被禁止或删除 内容自动屏蔽
作者: jing_hui    时间: 2007-10-3 21:54
微软的东东linkd.exe,只有11k。 linkd.rar (4.14 KB, 下载次数: 673)
作者: nn2nn    时间: 2007-10-3 22:30
提示: 作者被禁止或删除 内容自动屏蔽
作者: 沙漠之子    时间: 2007-10-4 01:47
似乎只用ntfs 支持junction point的说

不过untunbu本身就支持的
作者: khauyeung    时间: 2007-10-4 02:30
你可以尝试一下SHORTCUT.EXE,很好用的:

Shortcut [Version 1.11]

Creates, modifies or queries Windows shell links (shortcuts)


The syntax of this command is:

shortcut.exe /F:filename /A:C|E|Q [/T:target] [/P:parameters] [/W:workingdir]
         [/R:runstyle] [/I:icon,index] [/H:hotkey] [/D:description]

/F:filename        : Specifies the .LNK shortcut file.
/A:action        : Defines the action to take (C=Create, E=Edit or Q=Query).
/T:target        : Defines the target path and file name the shortcut points to.
/P:parameters        : Defines the command-line parameters to pass to the target.
/W:working dir        : Defines the working directory the target starts with.
/R:run style        : Defines the window state (1=Normal, 3=Max, 7=Min).
/I:icon,index        : Defines the icon and optional index (file.exe or file.exe,0).
/H:hotkey        : Defines the hotkey, a numeric value of the keyboard shortcut.
/D:description        : Defines the description (or comment) for the shortcut.

Notes:
- Any argument that contains spaces must be enclosed in "double quotes".
- If Query is specified (/A:Q), all arguments except /F: are ignored.
- To find the numeric hotkey value, use Explorer to set a hotkey and then /A:Q
- To prevent an environment variable from being expanded until the shortcut
   is launched, use the ^ carat escape character like this: ^%WINDIR^%

Examples:
   /f:"%ALLUSERSPROFILE%\Start Menu\Programs\My App.lnk" /a:q
   /f:"%USERPROFILE%\Desktop\Notepad.lnk" /a:c /t:^%WINDIR^%\Notepad.exe /h:846
   /f:"%USERPROFILE%\Desktop\Notepad.lnk" /a:e /p:C:\Setup.log /r:3

An argument of /? or -? displays this syntax and returns 1.
A successful completion will return 0.


Copyright 2000-2005 Marty List, www.OptimumX.com

SHORTCUT.rar

19.29 KB, 下载次数: 192, 下载积分: 无忧币 -2


作者: nn2nn    时间: 2007-10-4 09:16
提示: 作者被禁止或删除 内容自动屏蔽
作者: nn2nn    时间: 2007-10-4 17:17
提示: 作者被禁止或删除 内容自动屏蔽
作者: liuhj    时间: 2007-10-4 21:36
http://202.115.22.199/Blog/elect ... 06/11/20/11685.aspx

不错,学习了。
作者: fujianabc    时间: 2007-10-4 21:49
不就是相当于linux/unix的软连接吗?
作者: nn2nn    时间: 2007-10-4 23:03
提示: 作者被禁止或删除 内容自动屏蔽
作者: 乌龙仔    时间: 2007-10-13 21:29
学习了,原来还有这个命令。
作者: lxl1638    时间: 2007-10-13 21:45
在Windows系统中已解决了这个问题:

手动方法:
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=114273

用工具(见说明第4点):
http://bbs.wuyou.net/forum.php?m ... p%3Bfilter%3Ddigest




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3