spaces in path name..

Topics: Archive - General
Mar 18, 2014 at 2:45 PM

I've got some issues with spaces in the path name..

the command I am having problems with is this:

Execute-Process -FilePath "$dirFiles\Oracle\client\setup.exe" -Arguments "-silent -waitforcompletion -nowait -responsefile $dirSupportFiles\oracle\client_admin.rsp"

but it keeps failing with response: folder name invalid.

The files are located here:

\sccmserver\apps & Packages\cad & GIS\Netbas\10.9\NetBas PreRequisites

I simply cannot get the script to parse the folder structure correctly..

any help will be much appreciated!
Mar 19, 2014 at 1:01 PM
is it sccm2007 or 2012?
If it's 2012, is NetBas a prereq before the oracle install?
Why not have the NetBas files in the files dir?

I would make a scirpt for the prereqs and put the files in the files dir, and make it a dependency of the main Oracle client install.
Mar 19, 2014 at 5:59 PM
Change the line as follows

Execute-Process -FilePath "$dirFiles\Oracle\client\setup.exe" -Arguments "-silent -waitforcompletion -nowait -responsefile '"$dirSupportFiles\oracle\client_admin.rsp'"

Should work