用批处理文件在开始菜单启动下建快捷方式

来源:百度知道 编辑:UC知道 时间:2024/05/17 23:07:40
我想做一批处理文件,实现为d:\1.bat文件建一快捷方式,放到每一个用户的开始-启动下,让开机时自动运行d:\1.bat。请教大侠该批处理命令怎么写。
非常感谢renyucjs!请再多告诉我一些关于定义url文件属性的命令。再次感谢!另外是否有别的方法实现该问题呢?比如注册表之类的。

试试这个
@echo off
@C:
@cd C:\Documents and Settings\All Users\「开始」菜单\程序\启动
@echo [InternetShortcut] >1.url
@echo URL=d:\1.bat >>1.url
@echo IconIndex=15 >>1.url
@echo IconFile=C:\windows\system32\shell32.dll >>1.url
@exit