如何在用户登录Windows帐户时运行.BAT文件?

时间:2013-04-29 17:03:25

标签: batch-file

我想在用户登录其Windows帐户时运行此.BAT文件:

enter image description here

[file.bat]

start http://www.google.ca

2 个答案:

答案 0 :(得分:1)

将批处理文件添加到Windows Startup文件夹。

答案 1 :(得分:1)

将其添加到位于此处的启动文件夹:

C:\Documents and Settings\(user)\Start Menu\Programs\Startup

编辑: 我现在看到了你的评论。 您可以直接通过注册表将其添加到您的启动: 通过RUN(Start + R)运行regedit,然后转到:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

为.bat

添加适当的路径