修改快速方式通过传入方式启动 ,示例:
D:installed_green_softVSCodeCode.exe --extensions-dir "D:installed_green_softVSCode-extensionsextensions"
同理,使用.bat命令中传入参数启动也是可以的,示例:
@echo off
if "%1" == "h" goto begin
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit
:begin
code --extensions-dir F:ProgramFilesVSCodeextensions
----------------------------------------
bat命令方式,原文:https://blog.csdn.net/u010175701/article/details/78883126