V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  wangdef09  ›  全部回复第 23 页 / 共 33 页
回复总数  645
1 ... 19  20  21  22  23  24  25  26  27  28 ... 33  
太帅被上司骚扰
2017-05-29 16:17:59 +08:00
回复了 Actrace 创建的主题 问与答 蜂蜜和菠萝蜜到底能不能同时吃?
好奇的问下,心经里面的般若波罗蜜多的波罗蜜是不是菠萝蜜?
2017-05-28 15:00:34 +08:00
回复了 pual 创建的主题 问与答 粽子节福利
公司发妹子,外面出差。
2017-05-25 13:47:09 +08:00
回复了 ilook 创建的主题 问与答 有没有 Win 下方便限制程序联网的软件?
rem 批处理获取管理员权限
:-------------------------------------
%1 mshta vbscript:createobject("shell.application").shellexecute("""%~0""","::",,"runas",1)(window.close)&&exit /b
CD /D "%~dp0"
:-------------------------------------

::添加阻止程序出站规则
(
echo "Office_OfficeClickToRun","%ProgramFiles%\Common Files\microsoft shared\ClickToRun\OfficeClickToRun.exe"
echo "Office_msoia","%ProgramFiles%\Microsoft Office\root\Office16\msoia.exe"
echo "Office_WINWORD","%ProgramFiles%\Microsoft Office\root\Office16\WINWORD.EXE"
echo "Office_EXCEL","%ProgramFiles%\Microsoft Office\root\Office16\EXCEL.EXE"
echo "Office_POWERPNT","%ProgramFiles%\Microsoft Office\root\Office16\POWERPNT.EXE"
echo "Office_VISIO","%ProgramFiles%\Microsoft Office\root\Office16\VISIO.EXE"
echo "Office_WINPROJ","%ProgramFiles%\Microsoft Office\root\Office16\WINPROJ.EXE"
echo "Office_MSPUB","%ProgramFiles%\Microsoft Office\root\Office16\MSPUB.EXE"
echo "Office_MSACCESS","%ProgramFiles%\Microsoft Office\root\Office16\MSACCESS.EXE"
echo "AutoCAD_LMU","%ProgramFiles%\Common Files\Autodesk Shared\AdLM\R11\LMU.exe"
echo "AutoCAD_DADispatcherService","C:\Program Files\Autodesk\AutoCAD 2016\DADispatcherService.exe"
echo "AutoCAD_acad","C:\Program Files\Autodesk\AutoCAD 2016\acad.exe"
)>list.txt
FOR /F "usebackq tokens=1,2 delims=," %%i in ( list.txt ) do (
netsh advfirewall firewall del rule name="%%i">nul 2>nul
netsh advfirewall firewall add rule name="%%i" program=%%j action=block dir=out>nul
echo 阻止%%i 程序出站规则已添加
)
del list.txt

::添加阻止服务出站规则
(
echo "Windows Update","wuauserv"
)>list.txt
set svchost_exe="%%systemroot%%\system32\svchost.exe"
FOR /F "usebackq tokens=1,2 delims=," %%i in ( list.txt ) do (
netsh advfirewall firewall del rule name=%%i>nul 2>nul
netsh advfirewall firewall add rule name=%%i service=%%j action=block dir=out program="%svchost_exe%">nul
echo 阻止%%i 服务出站规则已添加
)
del list.txt
pause
rem netsh advfirewall firewall add rule,就会有帮助内容,里面正好有设置端口的例子
rem netsh advfirewall firewall del rule name=%%i>nul 2>nul
rem netsh advfirewall firewall add rule name="%%i" program=%%j action=block dir=out>nul
---------------------------------------------------------------------------------------------------------------------------------------
以上存为批处理,管理员运行
2017-05-23 19:51:56 +08:00
回复了 mokeyjay 创建的主题 问与答 2017 求推荐性价比不错的千兆 WAN 口带无线的路由
NETGEAR WNDR4300 v1 双 wifi 300+450M,或 WNDR3700。二手的也行才 200
2017-05-22 21:10:56 +08:00
回复了 sgissb1 创建的主题 问与答 求推荐,除了迅雷还有啥带离线下载的平台可以用?
我是问楼上,百度脚本获得的链接和一般离线不一样,有些不能下载。
2017-05-21 22:59:29 +08:00
回复了 beyoung 创建的主题 问与答 女朋友想要养狗 怎么劝?
她养狗你养小三
2017-05-21 22:53:52 +08:00
回复了 sgissb1 创建的主题 问与答 求推荐,除了迅雷还有啥带离线下载的平台可以用?
115 能下百度获得的链接?
需要一个男友
1 ... 19  20  21  22  23  24  25  26  27  28 ... 33  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3729 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms · UTC 05:04 · PVG 13:04 · LAX 21:04 · JFK 00:04
Developed with CodeLauncher
♥ Do have faith in what you're doing.