English 中文(简体)
每当用户记录仪表
原标题:To execute a batch file each time a Users login

我将一份批量文件抄录在用户地方应用数据中的一些文档。 我想做的是在每个不同的标识上执行这一规定。 我可以找到许多条款,在开始讨论批量卷宗的执行问题,但我想知道,在登录时如何这样做。

问题回答

在标识(至少在视窗7下)启动任何行动的最佳方式是使用“预定任务”。

Another common (but less robust) way is to copy the .bat file (or link to the .bat file) to the user s startup directory.





相关问题
complex batch replacement linux

I m trying to do some batch replacement for/with a fairly complex pattern So far I find the pattern as: find ( -name *.php -o -name *.html ) -exec grep -i -n hello {} + The string I want ...

How to split a string by spaces in a Windows batch file?

Suppose I have a string "AAA BBB CCC DDD EEE FFF". How can I split the string and retrieve the nth substring, in a batch file? The equivalent in C# would be "AAA BBB CCC DDD EEE FFF".Split()[n]

How to check which Operating System?

How can I check OS version in a batch file or through a vbs in an Windows 2k/2k3 environment ? You know ... Something like ... : "If winver Win2k then ... or if winver Win2k3 then ....

热门标签