how to get all files in a directory cmd code example Example: open all files in a folder command line windows FOR %F IN (*.*) DO START %F