how to create and manage files in cmd code example Example: create file and write to it cmd echo some-text > filename.txt