Skip to content

Commit 5f89168

Browse files
committed
vbs test
1 parent 3cadb51 commit 5f89168

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

.vscode/launch.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@
162162
"request": "launch",
163163
"name": "Launch VS Code",
164164
"windows": {
165-
"runtimeExecutable": "${workspaceFolder}/scripts/code.bat"
165+
"runtimeExecutable": "C:\\Windows\\System32\\cscript.exe",
166+
"runtimeArgs": ["${workspaceFolder}/scripts/code.vbs"]
166167
},
167168
"osx": {
168169
"runtimeExecutable": "${workspaceFolder}/scripts/code.sh"

build/gulpfile.hygiene.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ const copyrightFilter = [
103103
'!**/*.template',
104104
'!**/*.md',
105105
'!**/*.bat',
106+
'!**/*.vbs',
106107
'!**/*.cmd',
107108
'!**/*.ico',
108109
'!**/*.icns',

scripts/code.vbs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Set WshShell = CreateObject("WScript.Shell")
2+
WshShell.Run chr(34) & "code.bat" & Chr(34), 0
3+
Set WshShell = Nothing

0 commit comments

Comments
 (0)