Y
Y
yuiko2019-11-24 15:59:53
cmd/bat
yuiko, 2019-11-24 15:59:53

How to pass variable from CMD to VBS script?

In general, you need to open the default browser in Windows in the background
. Let's write in cmd: start /w wscript.exe "toster.vbs" https://toster.ru/
After that, this link opens in the background.
Who can help me write the whole code, there is very little I don’t understand anything, please help me for 2 days I can’t think of it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2019-11-24
@res2001

Open the default browser directly in the batch file, why do you need an intermediate vbs?
Regarding the use of script parameters: www.script-coding.com/WSH/WScript.html#2.12.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question