Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否自动新建noUAC目录并创建任务计划呢 #1

Open
Saeviome opened this issue Nov 4, 2020 · 5 comments
Open

能否自动新建noUAC目录并创建任务计划呢 #1

Saeviome opened this issue Nov 4, 2020 · 5 comments

Comments

@Saeviome
Copy link

Saeviome commented Nov 4, 2020

如题,感觉这样管理起来比较方便。

@XIU2
Copy link
Owner

XIU2 commented Nov 4, 2020

不是很明白,描述详细一点。

@Saeviome
Copy link
Author

我的意思就是任务计划库里新建一个noUAC的分组目录。不知道是不是比较麻烦

@XIU2
Copy link
Owner

XIU2 commented Nov 12, 2020

@Saeviome 看了下,任务计划程序似乎并没有提供 新建文件夹(任务)的命令行参数。
这意味着,只能手动创建文件夹。。。

而且为了方便管理,我特意在计划任务名称前面加上了 .noUAC ,默认排序时,因为前缀一样,所以它们都会扎堆在一起。
和你想要的效果没啥区别。

yfdyh000 added a commit to yfdyh000/UACWhitelistTool that referenced this issue Mar 13, 2023
@yfdyh000
Copy link

任务计划名称是noUAC开头,堆在中间。
创建在文件夹不难,SCHTASKS /Create /? 有 介绍“/TN taskname 以路径\名称形式指定
对此计划任务进行唯一标识的字符串。”
所需源码修改见上。
放在文件夹能直接删整个文件夹。

@XIU2
Copy link
Owner

XIU2 commented Mar 14, 2023

@yfdyh000
你现在说也晚了,因为我已经对该项目没啥兴趣了。。。
就连 C#,我当初花了几天学个入门,写了几个软件解决完我的需求后,后续又花了两三年将其遗忘。。。

当初不知道这个创建文件夹命令,所以选择了统一前缀来让 任务计划 挨在一起。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants