I am using vb to select a number of files from a number of directories and then write the file path to a text file called sample.txt
My sample.txt currently has one line in it that looks like this.
I am then running the following batch code.
@FOR /F %%a IN (c:\temp\sample.txt) DO msiexec /i %%a
I am getting the following error, that the installation path could not be found, I cant help notice that in the command window the command it is trying to run is as follows.
msiexec /i "c:\temp\New
Seems as though the spaces in the path are messing it up, but i have got the path in quotes??
Can anyone speculate as to what the problem here might be?