- Let's say you have 20 people you have to create word documents for,each document with a different file name and store them in thier own folder you have created the same name as the file.check this cmd file.
- It read names from a file called read.txt and for each name read,it create a forlder,create a word document with that name and move this document to its folder.
- No matter how many names,can take up to 1000 names and create files and folders in less than 30 seconds.
1.open an mpty notepad and copy the code from the picture bellow and type it,when done save with a .cmd extension e.g hello.cmd
2.copy or type names into an empty notepad file and save as read.txt and place it in the same folder with a .cmd file.
Start the .cmd files and see the results,place both files in an empty folder so that the .cmd file does not interfer with the window u are working on e.g documents/desktop
Comments
Post a Comment