You have a few problems:
- The filename (c:\capture.pcap) must immediately follow the
-w
flag. - The filter must be "quoted" if it contains spaces.
- You must specify the "host" keyword before each address.
- The logical operation you want is almost certainly "or", not "and"
Given the above, try: C:\Program Files\Wireshark\wireshark.exe -i 4 -k -b duration:3600 -w c:\capture.pcap -f "host 10.0.0.1 or host 10.0.0.2 or host 10.0.0.3"