Hello,
I would like to execute a file on a server. The path to the file contains spaces. It´s not possible for me to change the folderstructure... - When I put the whole path and filename with quotations in the shell.run method it works, but I would like to use variables for that and other cases. Here my construct and what I tried:
When I use
shell.run """\\server\Software\Internet Explorer\IE8" & "\IE8-WindowsXP-x86-DEU.exe""", 0, True
it works. File will be executed.
I would like to have something like the following:
parta = "\\server\Software\Internet Explorer\IE8"
partb = "\IE8-WindowsXP-x86-DEU.exe"
shell.run ""parta" & ""partb"", 0, True
And this does not work... Could anybody be so kind and tell me what I´m doing wrong and how I can get it to work? Is it possible to do it in that way?
Thanks for your help!