I want to make it as easy as possible for the user who wants to set up his VM.
With your suggestion the user has in addition to copy a batch file into the windows guest.
(But I want a solution, which is completely maintenance-free for the user.)
Sorry. I was wrong. I thought, that the command in post #3 would work, because I got no message. But it's wrong. In the meantime I have realized, that it does still not work this way.
Hello @gvisoc
Thank you for the hint with double quotes.
-> The whole string should be in '...' instead of "..." .
This works:
geifani@mx:~
$ BefehlRegAuslesen='for /f "usebackq skip=1 tokens=3 delims= " %x in (`reg query...
Hello all together,
What's wrong with my command?
I type this into my linux-terminal:
$ VBoxManage guestcontrol "NameOfMyVM" start --username UserNameOfMyWindowsLogin --password PasswordOfMyWindowsLogin --exe "%SystemRoot%\system32\cmd.exe" -- 'cmd' /k start "run this" "for /f "usebackq skip=1...