Answer the question
In order to leave comments, you need to log in
How, when executing a command in CMD, was the contents of the CD constant substituted in the right place?
There is a special command that opens Chrome with some parameter, this parameter must have the address to the desired html file, which is located in the same directory in which the batch file with the command is launched.
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app=[тут должно быть содержимое константы CD]/index.html
Answer the question
In order to leave comments, you need to log in
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app="%~dp0/index.html"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question