I want to write a macro that run a command on a solidworks files over all in folder (so one command / file in folder).
Thank you in advance for your response!
sounds like fun. Not sure what kind of response you're after. You may wish to experiment with capabiliies/constriants of Solidworks Task Scheduler before getting to stuck into your macro.
You can run custom macros as well as select from the online library using this tool: #TASK
Retrieving data ...