1

I'm trying to open a use this command from batch in a powershell script:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -kiosk http://praxistipps.chip.de/ --overscroll-history-navigation=0 --window-position=0,0

So I tried this but with no success:

Start-Process -FilePath "cmd.exe"  -ArgumentList "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -kiosk http://praxistipps.chip.de/ --overscroll-history-navigation=0 --window-position=0,0
1
  • If you really want to start chrome via cmd (for whatever reason), you need to add /C as its first argument… Commented Oct 15, 2020 at 10:52

1 Answer 1

1

Why not call chrome directly?

Start-Process -FilePath "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -ArgumentList "-kiosk", "http://praxistipps.chip.de/", "--overscroll-history-navigation=0", "--window-position=0,0"
Sign up to request clarification or add additional context in comments.

2 Comments

Oh yeah of cource... What a stupid mistake, thanks xD
@Forestbird It's a common mistake, you'd be surprised.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.