I've got it working on a test setup, kinda. It the command files have not got a space in their name then they will get executed and run, but if they have they won't. I'm sure it is just to do with the run command and the placing of quotes so that the run command ends up having speech marks enclosing the command.
CODE
$search = FileFindFirstFile("*.cmd")
While 1
$file = FileFindNextFile($search)
If @error Then ExitLoop
Run("cmd.exe /c '" & $file & "'", "", @SW_HIDE)
WEnd
; Close the search handle
FileClose($search)
While 1
$file = FileFindNextFile($search)
If @error Then ExitLoop
Run("cmd.exe /c '" & $file & "'", "", @SW_HIDE)
WEnd
; Close the search handle
FileClose($search)
Any help will be appreciated!