Directory to txt file in Windows