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