Copying filenames from explorer to any text editor
2 min read
How did you do this using DOS? That would be a neat trick.
I use pretty much the same method Blowwish mentioned, though slightly different.
Single click on a file whose name I want to copy
Press the F2 key (rename)
Right click on the highlighted file and select copy
Then I can paste it anywhere I need it.
hi! thanks for the hint!
i managed to follow the instruction given using DOS. Maybe i had a hard time understanding since i am not very familiar with dos commands.
So, the most optimized and fast way would be yours F2 + mine Ctr+C and Ctrl+V
i managed to follow the instruction given using DOS?????
How did you do this using DOS? That would be a neat trick.
I use pretty much the same method Blowwish mentioned, though slightly different.
Single click on a file whose name I want to copy
Press the F2 key (rename)
Right click on the highlighted file and select copy
Then I can paste it anywhere I need it.
Hi, the OP didn't use DOS, but used the command prompt none the less. I'm sure you are familiar with output redirection at the command prompt? The command to list filenames to a text file would look something like this, dir /b > filelist.txt. This command tells the DIR command to use a "bare format" listing (no header information) and directs the command interpreter to redirect the output of the DIR command to the file called filelist.txt.
With some ingenuity this could actually be used as a right-click context menu item to where you would right click a folder in explorer and have a custom created menu item that you could click to immediately generate a file with a listing of filenames for the folder you selected. I'm not about to go there.
Still having this problem?
This topic is from the What the Tech archive and can't take new replies. Geeks to Go is an active, free help community run by volunteers. Post your question there and a person, not a bot, will work through it with you.