终于实现用命令创建文件的快捷方式了.好长时间才找到这个好东西.下面是说明.或者下载后输入
shortcut -h 就能看到了.
shortcut: [-? -h -f -c -r -s] [[-t] 目标 [[-n] 名称]] [-d 工作目录]
[-a Arguments] [-i 图标文件] [-x 图标索引] [-u {all|[natdix]}]
[-l 日志文件]
-? -h 查看帮助
-f 强行覆盖已经存在的快捷方式
-c 修改已存在的快捷方式
-s 建立一个不存在的快捷方式
-r 修复损坏的快捷方式
-t 目标 指定快捷方式的目标文件
-n 名称 给快捷方式命名
-d 目录 给快捷方式的目标指定工作目录
-a arguments Specifies the arguments passed when the shortcut is used
-i 图标 指定快捷方式所用的图标文件
-x 索引 指定快捷方式的所用图标文件的索引
-u [spec] Dumps the contents of a shortcut. 'all' is the same as 'natdix'
but the letters of 'natdix' can be specified to display specific
fields in the shortcut (repeats allowed, and order followed)
-l logfile record error messages in specified file