I have to extract the names of files from a folder and paste them to a text document (Word document would be ideal but I found a way to link and automatically update a word file with the contents of a text file).
What I was thinking of doing was to have a dialog box open up to ask the user a path to the folder. Then I would use the dir function and paste the values to a text file.
I can get the names but the batch file has to be in the same folder. I wanted the dialog box, is there a way to do that? I didn't really want the user to type in the entire folder path in cmd prompt.