Win7:
@echo off
set CUR_DIR=%~dp0
set LINK_NAME=YourAppName.lnk
set DEST_DIR=C:ProgramDataMicrosoftWindowsStart MenuProgramsStartup
copy /Y "%CUR_DIR%%LINK_NAME%" "%DEST_DIR%%LINK_NAME%"
XP:
@echo off
set CUR_DIR=%~dp0
set LINK_NAME=YourAppName.lnk
set DEST_DIR=C:Documents and SettingsAll Users「开始」菜单程序启动
copy /Y "%CUR_DIR%%LINK_NAME%" "%DEST_DIR%%LINK_NAME%"