Hi
Let us have a path
C:\Program Files\TestFolder
this path i got programatically and stored in a varible dirpath(for example)
Now i have concatinated string
dirpath=getInstallationpath()+"\\ test.dll /codebase /tlb";
then dirpath is become
C:\Program Files\TestFolder\test.dll /codebase /tlb
But my problem is i have make the path enclosed in double quotes
"C:\Program Files\TestFolder\test.dll"
Because when i directly pass the dirpath as commandline for regasm in a CreateProcess() then it should accept for C:\Program only because of white spaces.so i tried lot of stunts like
dirpath="\ "+getInstallationPath()+" \test.dll /codebase /tlb "
like that but did not worked...
So please Hep me in this regard...
Thanks in Advance...