Did this command, trying to copy the list of contents of the directory named "DVD9" on the DVD in the F drive to a file named "backup.txt":

C:\>dir F:\DVD9 | C:\backup.txt
But it simply opens backup.txt and doesn't write anything to it.