Jump to content

tinyevil

Member
  • Posts

    5
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

About tinyevil

Profile Information

  • OS
    Windows 7 x86

tinyevil's Achievements

0

Reputation

  1. Am i right understanding that i simply paste this into a .bat file? If so, it didn't produce an export file. I've double checked the directory, and it is right. Thank you for all your help so far!
  2. Yes, removing /S resolved that issue. I will keep persuing an alternative method for the 'Created Date', thank you for your help
  3. I'll definitely take a look at that, thank you
  4. Hello, I'm using Win 7 x86, and that script gave me pretty much exactly what i wanted. One tiny thing, not sure if it's feasible or not, but the date being returned is actually the 'Date Modified' date rather than the 'Date Created' date. Is it possible to return this value? Also, the script returns file information for anything within the specified directory and all its subfolders - is it possible for it to return file information for only the specified directory?
  5. First observation, it seems to have trimmed the file names. For a file named "Firefox Setup.exe", your script has returned only "Firefox". However for a file named "AppDocUse.zip", your script has returned it all. I'm thinking this has something to do with the space in the file name? Second observation, it has not returned the created date for any of the files. Thanks Jaclaz.
  6. Hello all. I have the following batch command that returns all files within the specified directory and its sub folders. for /r C:\Users\myusername\mydirectory %%g in (*) do echo %%~nxg>>ListofFiles.txt This works as you'd expect - I'm happy with it. However, i would now like to include the 'Created Date' and/or 'Modified Date' in the export. I've searched this forum and google, but i (genuinely) can't find the resolution. If possible, i would also like to amend the script so that the command returns ONLY files within the specified directory, and does NOT return the files within its sub folders. Any help would be greatly appreciated!
  7. Hello all, Just a short intro; my name is Tom, and i work in IT Projects. I'm looking at learning more about batch commands, and will be posting queries about them very soon. If anyone would like to point me in the direction of a beginners guide, that would be great! Have a great day all! Tom.
×
×
  • Create New...