REQUEST: How to use a batch file to list the full path names of files in a directory

Discussion in 'BlackHat Lounge' started by Merlin22, Jan 1, 2016.

  1. Merlin22

    Merlin22 Regular Member

    May 19, 2010
    Likes Received:
    I am hoping somebody might help me out solving the following dilemma. I have figured out how to list the exact file names of a group of files in a specific folder using a batch file. However, the issue I haven't been able to solve yet is to list the exact path names of all files in a folder.

    I want to list all the filenames in my dropbox public folder, including my personal identifier. The only solution I have found is to use the batch file to list all the file names and then use notepad+ to insert a prefix including the relative dropbox folder location.

    Does anybody know what specific code I should use for the batch file to use in the dropbox folder?

    This is what I have been using to list the files.

    dir /b > fileslist.txt