> How do I register all the dll's in a given path from a batch file? The catch 
> is the path has spaces in it. Every combination of this I've tried fails.:

> for %x in "C:\Program Files (x86)\Open Text\DM Extensions"(*.dll) do regsvr32 
> /s %x

I would try:

for %%a in ("C:\Program Files (x86)\Open Text\DM Extensions\*.dll") do regsvr32 
/s "%%a"

Double up the % signs when using in a batch file, and wrap the path in 
quotation marks in the regsvr32 command.

William




Reply via email to