返回   华枫论坛 > ◆生活板块◆ > 理财投资



发表新主题 回复
 
查看全部 主题工具
旧 Jan 29th, 2023, 21:39     #1
HHH
Senior Member
级别:15 | 在线时长:313小时 | 升级还需:7小时级别:15 | 在线时长:313小时 | 升级还需:7小时级别:15 | 在线时长:313小时 | 升级还需:7小时
 
注册日期: Jul 2004
帖子: 505
HHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond repute
默认 同样问题, Solution

引用:
作者: changzg 查看帖子
我也是同样的问题
写一个小batch, 先断网,再launch, 再连网。已验证。

sample code here, note: mine is ethernet instead of WiFi.


@echo off

echo Disabling Ethernet...
powershell -Command "Start-Process cmd -Verb runAs -ArgumentList '/c netsh interface set interface \"Ethernet\" admin=disable'"

echo Waiting for Ethernet to be disabled...
timeout /t 5

echo Launching "TurboTax2022"...
start "" "C:\Program Files\TurboTax2022\tt2022.exe"

echo Waiting for "TurboTax2022" to launch...
timeout /t 30

echo Enabling Ethernet...
powershell -Command "Start-Process cmd -Verb runAs -ArgumentList '/c netsh interface set interface \"Ethernet\" admin=enable'"


echo Done!

If I could help you, I would help you.
HHH 当前离线  
回复时引用此帖
共 3 位会员
感谢 HHH 发表的文章:
joy_photo (Feb 26th, 2023), samzhu (Feb 26th, 2023), wts (Feb 13th, 2023)
旧 Apr 23rd, 2023, 22:38     #2
HHH
Senior Member
级别:15 | 在线时长:313小时 | 升级还需:7小时级别:15 | 在线时长:313小时 | 升级还需:7小时级别:15 | 在线时长:313小时 | 升级还需:7小时
 
注册日期: Jul 2004
帖子: 505
声望: 687829
HHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond reputeHHH has a reputation beyond repute
默认 Import tax data from cra

强烈推荐用import tax data from cra. 今天试了一下,发现两张T3我没有收到(银行邮寄)。
HHH 当前离线  
回复时引用此帖
发表新主题 回复


发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码



所有时间均为格林尼治时间 -4。现在的时间是 12:24

请尊重文章原创者,转帖请注明来源及原作者。
凡是本站用户自行发布的任何信息,皆不代表本站的立场,
华枫网站不确保各类信息的正确性和可靠性,也不承担由此而导致的任何直接或间接损失以及任何法律责任。

Copyright © 1999-2024 Chinasmile