Saturday, October 10, 2015

windows - I am trying to batch create multiple text files in subfolders

I am creating .txt files with a list of the file names within a given subfolder. I have around 100 subfolders within each of the 18 main folders, so I would like batch create the .txt files to save time if possible.
For each subfolder, I am using the following code


dir /b > filenames.txt

Can I do this in larger batches from all subfolders within each main folder?


Thanks!

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...