B4J Question Run a cmd command with space

dtrieb

Member
My code:
B4X:
app_title = TextField1.Text
app_params = app_params & " --window-title= " & app_title

Now I have a app_title with space. p.e.: hello world
I want run this:
B4X:
shl.Initialize("shl", "cmd.exe", app_params)

But the problem are the space in: hello world.

How can I solved this problem?
Thank you for your help!
 
Top