danzig69 0 Posted December 14, 2010 Hello, i'm new to this software. I'm trying register a dll. I can do it in a batch file but how in AutoIt : regsvr32 "C:\Program Files\MainMedia\FLV Flash Video Source Filter\mainmedaflvsource.dll" /s I try multiple thing but it didn't like the space between Program and files... did someone know how? Share this post Link to post Share on other sites
shanet 0 Posted December 14, 2010 Maybe you could try ShellExecute("regsvr32" "C:\Program Files\MainMedia\FLV Flash Video Source Filter\mainmedaflvsource.dll /s") Good Luck! [font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:%programfiles%/AutoIt3/autoit3.chm Share this post Link to post Share on other sites
wakillon 403 Posted December 14, 2010 (edited) Welcolme to the Forum and Try $_DllPath = @ProgramFilesDir & '\MainMedia\FLV Flash Video Source Filter\mainmedaflvsource.dll' RunWait ( @Systemdir & '\regsvr32.exe "' & $_DllPath & '" /s' ) Edited December 14, 2010 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Share this post Link to post Share on other sites
danzig69 0 Posted December 14, 2010 shanet, I already try your suggestion but it's not working. Thanks for your help wakillon: Thanks your suggestion solve my problem. Share this post Link to post Share on other sites
shanet 0 Posted December 15, 2010 shanet, I already try your suggestion but it's not working. Thanks for your helpwakillon: Thanks your suggestion solve my problem.Sorry to hear that. Well at least you have got your solution Take careshanet [font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:%programfiles%/AutoIt3/autoit3.chm Share this post Link to post Share on other sites