SOLVED Any way to get/display the full path and file name of a file?

Joined
Jan 19, 2018
Messages
28
Reaction score
4
Hi All,

Any way to get/display the full path and file name of a file? It's easy to get the full path, but I want to get the path and file name. I know I can grab them separately. Can I get them together? How?

I did a google and youtube search and didn't find any hits.

Thanks,
 
Joined
Jan 19, 2018
Messages
28
Reaction score
4
I found the solution. Just hold the Shift key while doing a right click on the file. Then select "Copy as Path". Then I get the full path and the file name together. Very easy. Thanks,
 
Joined
Feb 22, 2014
Messages
1,654
Reaction score
343
I'm not sure exactly what you are asking. You can have DIR write the long path and filename of all files to a text file. I do this all the time.

Examples:
  1. "dir /b *.* > current_folder_all_folders_and_files.txt"
  2. "dir /b *.mp3 > current_folder_mp3_playlist.m3u"
  3. "dir /s/b *.mp3 > all_subfolders_mp3_playlist.m3u"
  4. "dir /b/a:d *.* > directory_list_only.txt"
  5. "dir /b/a:-d *.* > file_list_only.txt"
  6. "dir /s/b/a:-d *.* > file_list_only_all_subfolders.txt"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top