I would multi line it, to avoid the inevitable quote struggle. Second line may need some work.
CD "C:\Program Files (x86)\Open Text\DM Extensions" for %x (*.dll) do regsvr32 /s %x From: [email protected] [mailto:[email protected]] On Behalf Of Marcum, John Sent: Thursday, October 8, 2015 3:52 PM To: Scripting List ([email protected]) <[email protected]> Subject: [scripting] Register Dll's from bat file 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 ________________________________ John Marcum MCITP, MCTS, MCSA Desktop Architect Bradley Arant Boult Cummings LLP ________________________________ [H_Logo] ________________________________ Confidentiality Notice: This e-mail is from a law firm and may be protected by the attorney-client or work product privileges. If you have received this message in error, please notify the sender by replying to this e-mail and then delete it from your computer.
