Space in command

by Feb 7, 2011

Hi experts !

My question may seem silly,but its really fraking me out……… "Angry"

I can execute the following :

invoke-expression "C:WindowsSystem32regsvr32.exe /s C:tempnameOfTheDll.dll"

but when I am trying to execute the following command it doesn't work due to space in the path "temp[space]123"

invoke-expression "C:WindowsSystem32regsvr32.exe /s C:temp 123nameOfTheDll.dll"

Can anybody help me ?

– Thanks in advance "Smile"