File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ tags: ["tech"]
1111## 前置条件
12121 . [ ** WinFsp** ] ( https://winfsp.dev/rel/ )
1313
14- ![ winfsp] ( winstp.png )
14+ ![ winfsp] ( winstp.png )
1515
16162 . [ ** Rclone** ] ( https://rclone.org/downloads/ )
1717
@@ -82,31 +82,31 @@ Start-Process -FilePath $rclone_exe -ArgumentList "mount lab:/home/eliza Z: --co
8282
83831 . 按下` Win ` + ` R ` 输入 ` taskschd.msc ` 启动任务计划程序,点击右侧的 ** 创建任务**
8484
85- ![ task-create] ( task-create.png )
85+ ![ task-create] ( task-create.png )
8686
87872 . ** 常规** 标签页:勾选底部的 ** 隐藏**
8888
89- ![ general] ( general.png )
89+ ![ general] ( general.png )
9090
91913 . ** 触发器** 标签页:新建触发器,开始任务选择 ** 登录时** ,勾选 ** 延迟任务时间** 并输入 ` 30 秒 ` (这是为了确保系统底层网络栈已完全初始化)
9292
93- ![ trigger] ( trigger.png )
93+ ![ trigger] ( trigger.png )
9494
95- ![ new] ( new.png )
95+ ![ new] ( new.png )
9696
97974 . ** 操作** 标签页:新建操作,程序填入 ` powershell.exe ` ,参数填入:
9898 ` -WindowStyle Hidden -ExecutionPolicy Bypass -File "E:\apps\rclone\Mount-Lab.ps1" `
9999
100- ![ operation] ( operation.png )
100+ ![ operation] ( operation.png )
101101
102102注意 ` -File ` 参数后要换成脚本所在的正确路径
103103
1041045 . ** 条件** 标签页:取消勾选“只有在计算机使用交流电源时才启动此任务”,勾选“只有在以下网络连接可用时才启动”,选择“任何连接”
105105
106- ![ cond] ( cond.png )
106+ ![ cond] ( cond.png )
107107
1081086 . ** 设置** 标签页:取消勾选“如果任务运行时间超过以下时间,停止任务”,勾选“如果任务失败,按以下频率重新启动”(每一分钟,五次)
109109
110- ![ settings] ( settings.png )
110+ ![ settings] ( settings.png )
111111
112112保存设置并重启系统。登录后等待 30 秒,就可以在资源管理器中会出现映射好的 Z: 盘啦
You can’t perform that action at this time.
0 commit comments