File date created

How to find the date created from a file?

The attached library make a call to a Windows dll to grab file properties, including the file creation date. Of course this only works on Windows.
It's in LabVIEW 6.0.2, but upgrades OK.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Attachments:
Get_Windows_File_Info.zip ‏54 KB

Similar Messages

  • Update File Date Created on Move

    Hello,
    I was wondering if there is a setting in Windows 2012 R2 so that the "Date Created" attribute of a file is updated to the current date/time when the file is being moved from one folder to another?
    Thanks!

    Hi,
    You could use Robocopy command to retain the "Date Created" attribute. You can also use the /MIR command to mirror a directory structure completely.
    For more detailed information about Robocopy, please see:
    Robocopy
    http://technet.microsoft.com/en-us/library/cc733145%28v=ws.10%29.aspx
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Applescript to take a file name element to change Date Created

    This so beyond me but I have been led to believe is can be done. Can anyone help me please?
    I have thousands of archive files. ALL of these files' names start with the date in dd-mm-yy format. eg. 31-01-11 File Name.pdf or 25-12-09 Filename-02.pdf
    I would like to be able to drag a folder onto an application and for that app to search through the folder and all sub-folders, for these files and change the files' Date Created to the date at the start of the filename.
    This feels so easy to type but I fear much more complicated to do however I do thank you very much in anticipation for your help.
    Best wishes
    John

    Hello
    Here's something you might try if the problem is still open.
    It uses SetFile(1) command in Developer Tools, which you need to have intalled.
    cf.
    http://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/m an1/SetFile.1.html
    It can set creation date to any date between 1970-01-01 to 2038-01-18 inclusive.
    Simple check for date in file name is implemented so that error log is written to a log file on desktop when given date is considered invalid or SetFile raises error.
    One thing to note.
    It will process both files and directories under given directory tree in order to process package file. But it is not smart enough to leave the package contents alone, which means if a package contains a file or directory with name matching the pattern, it's creation date will be also changed.
    Minimally tested under OSX 10.2.8 at hand.
    But NO WARRANTIES of any kind. Please use it on test folder first.
    Good luck,
    H
    --SCRIPT
    on open aa
    main(aa)
    end open
    on run
    open ((choose folder) as list)
    end run
    on main(aa)
    list aa : alias list of source directories
    set logf to (path to desktop)'s POSIX path & "creationdate_error_log" & (current date)'s time & ".txt"
    repeat with a in aa
    set a to a as alias
    if (a as Unicode text) ends with ":" then -- directory
    set p to a's POSIX path's text 1 thru -2 -- posix path without trailing /
    set sh to "path=" & p's quoted form & ";
    logf=" & logf's quoted form & ";
    find "$path" -name '[0-9][0-9]-[0-9][0-9]-[0-9][0-9]*' -print0 | while read -d $'\0' f;
    do
    fn=${f##*/};
    dd=${fn:0:2}; ((d=10#$dd));
    mm=${fn:3:2}; ((m=10#$mm));
    yy=${fn:6:2}; ((y=10#$yy));
    if [[ ($d -ge 1 && $d -le 31) && ($m -ge 1 && $m -le 12) && ($y -ge 70 || $y -le 38) ]]; then
    if [[ $y -ge 70 ]]; then
    cc=19;
    else
    cc=20;
    fi
    res=$(/Developer/Tools/SetFile -d "$mm/$dd/$cc$yy 00:00" "$f" 2>&1);
    if [[ -n $res ]]; then
    echo "# $res ; failed for : $f" >> $logf;
    fi
    else
    echo "# invalid date in name : $f" >> $logf;
    fi
    done"
    do shell script sh
    end if
    end repeat
    end main
    --END OF SCRIPT

  • Change "Date Created" on File Folders

    What is the easiest way to change or alter the "Date Created" on file folders - To a date that is 6 months older? (OS 9.1)
    I need to store my photos in a single large chronologically ordered file. Some of them are sourced from scanned photos and some are received in emails from folks.
    I want to store them in the same date order as the day the photos were taken and NOT the day I filed them.
    Thanks.........Robert

    Neil and Don,
    I figured out a way to allow me to change the "Date Created" to any date I desired.
    1. Open "Date & Time" file in "Control Panels".
    2. Set the date desired (i.e. 6 months earlier.)
    3. Then Close "Date & Time"
    4. Now in (finder) click on "Command + N",
    This creates an "untitled file folder" on the desktop
    with the newly selected "Date Created".
    5. Give the new file folder the name desired.
    6. Drag the desired files to the newly created file folder
    and drop them.
    7. Trash the OLD Date Created Folder.
    8. Remember to go back to "Date Created" in "Control
    Panels" and change back to the current date.
    The above took care of my original question; But, I decided to use the same technique to change the "FILE" date created,
    rather than the "FILE FOLDER".
    I opened my digital camera software and took a ".jpg" photo file and did a "Save As" while "Date & Time" were in the altered state. My .jpg photo file now has the new "Date Created".
    I know that Niel and Don are completely aware of such a technique, But, I figured other forum members may find this method useful.
    Thanks for all of your continuing help........Robert

  • Converting raw files into tiffs and preserving the orig. date created

    How do I get the original date created to show up in folders when converting raw files into tiffs?  Once converted the original date created is in the "file info" window but does not show up as the original date created in the designated folder.  It is displayed as the same date as date modified.

    Thanks Mylenium
    As Mylenium has said, this information can be added later by various means. It will also depend on the software you are using on what date it is reading!
    As an example there are:
    The files date created
    Photoshop schema DateCreated
    EXIF schema DateTimeOriginal
    XMP schema CreateDate
    For an external tool you can use ExifTool http://www.sno.phy.queensu.ca/~phil/exiftool/
    or you could try to get a script written in the Photoshop or Bridge scripting forums.

  • P2 ingested footage with wrong date created metadata

    Hello, we're trying to standarize all of the media for our systems. Part of this includes ingesting P2 footage using Prelude and encoding it as DVCHDPro quicktime files. I know that the recommended method that adobe gives for ingesting P2 footage is to keep the file structure in tact and use the media browser function of Premiere; this, however, doesn't suit our company's needs of maintaining a relativaly NLE-agnostic media library and having quicktime compatiable discrete video clips of all our media. We're using Mac OSX operating systems, by the way. 
    The problem is that, when using Prelude to ingest, it seems that Prelude obliterates the "date created" metadata and file data (e.g. when selecting the "get info" on the clip itself; that file data). After ingesting a clip, if I open it in Premiere, there is no date-based metadata that matches the original record time on the .mxf file itself. Nor when I view the clip in OSX's "get info" does the "date created" panel reflect the date that the original file was created. It seems that it should be possible to write the original "date created" data to the ingested file (in the ingest panel in Prelude I can see the correct "date created" time); FCPX is able to do this when ingesting P2 media using their systems. Is there an option that I'm missing or is this simply not possible with this version of Prelude?
    To illustrate: here's a screencap of the ingest panel in prelude, notice the "date created" column reads 2013-06-28T11:43:05; which is the correct record date of that clip:
    However, after I ingest the clip, both within Premiere and the "get info" panel in OSX, the "date created" now refers only to my import time:

    Thanks both for your responses. I checked the .mxf file "date created" and it is indeed empty (see picture).
    The "date modified time" however, is correct. I do understand that when dragging media directly from the media browser in premiere that the metadata displays correctly; what I think should also happen is that when the footage is ingested and transcoded via Prelude, it should also display correct metadata. As shown in my pictures above, prelude does indeed see the correct "date created" (wherever it gets that information); it just obliterates it after it transcodes the clip; it's not available either in the "get info data" (which, somehow, FCPX does do when importing P2 media through their system) nor (most strangely) in premiere. Any settings or changes that could be made to address this would be appreciated.

  • Finder Search Results DATE CREATED / 10.5=MOST USELESS O.S. OF ALL TIME?

    Please Please Please tell me there's still a way to turn on the view options in finder search windows/results to display a files "Date Created" / "Date Modified" / "Size" etc. (basically all the options we have in a finder list view window).
    Seriously, if we are limited to Name/Kind/Last Opened with no way to see, at the very least, Date Created/Modified in the search results Mac OS 10.5 has just become useless to meet my needs. I mean totally and entirely useless. I mean sell my iMac and buy a windows box so I can find my files useless.
    Just tell me there's a way to turn on ALL the view options.
    <Edited by Moderator: Please See Terms of Use>

    There does not seem to be any way to restore Finder's behavior and options for search as it was in Tiger etc. Leopard's Finder view options aren't even allowed any longer in search windows (go to View->Options to get a frustrating message about it).
    There seems to be NO 3rd party utility to allow real-time file search and display/sort results by size -- obviously noone wrote it, since Finder used to be able to do that - until Leopard, that is.
    If this is a bug it's a pretty big and obvious one. I've reported it on bugreporter.apple.com (I guess others have done the same).
    If it were to be considered a "feature" in Leopard, it'd be one of the most limiting ones in 10.5 - this one and the Dock's Stacks are pretty high on the list of useless "new features" in Leopard. John Siracusa wrote in his excellent review about these and others (at http://arstechnica.com/reviews/os/mac-os-x-10-5.ars/12) :
    "+Not only does the Leopard Finder take no bold steps towards a brave new world of file management, it even further distances itself from a coherent incarnation of established file management paradigms. The changes in Leopard do indicate that Apple has taken a renewed interest in improving the Finder, but motion is not the same thing as progress. For where I'm sitting, it looks like one step forward, two steps back.+"
    Speaking as someone who's been developing software on Mac OS X since pre-Aqua Mac OS X Server 1.0 days, I sadly have to agree...

  • Is there a way to manually custom-edit the "Date created" and "Date modified" attributes of files in Mac OS 10.6?

    In "List View" in a Finder window, among the many column options are "Date created" and "Date modified." In "View Options" (command-J) for any folder, one can add these columns, along with the standard ones "Size," "Kind," "Label," etc.
    A user can alter a file's name, and a file's "label" (i.e. its color). On the other hand, a user can NOT arbitrarily edit/alter a file's official "size" -- other than by physically altering the contents of the file itself, obviously.
    But what about a file's "Date created" and "Date modified"? Can either of those be manually edited/changed, just as a file's name can be changed -- or is a file's creation-date an immutable attribute beyond the editorial reach of the user, just as a file's "size" is?
    And yes, a person can "alter" a file's "Date modified" by simply modifying the file, which would change its "Date modified" to be the moment it was last altered (i.e. right now). But (and here's the key question) can a user somehow get inside a file's defining attributes and arbitrarily change a file's modification date to be at any desired point in the past that's AFTER its creation date and BEFORE the present moment? Or will so doing cause the operating system to blow a gasket?
    If it is possible to arbitrarily manually alter a file's creation date or modification date, how would it be done (in 10.6)? And if it is NOT possible, then why not?

    sanjempet --
    Whew, that's a relief!
    But as for your workaround solution: All it will achieve is altering the created and modified dates to RIGHT NOW. What I'm looking to do is to alter the modification/creation dates to some point in the past.
    I'm not doing this for any nefarious reason. I just like to organize my work files chronologically according to when each project was initiated, but sometimes I forget to gather the disparate documents all into one folder right at the beginning, and as a result, sometimes after I finish a job, I will create a new folder to permanently house all the files in an old project, and when that folder is places in a bigger "completed projects" folder and then is organized by "Date created" or "Date modified" in list view, it is out-of-order chronologically because the creation and modification dates of that particular project folder reflect when the folder was created (i.e. today), and not when the files inside the folder were created (i.e. weeks or months ago).
    The simplest solution would simply to be able to back-date the folder's creation or modification date to match the date that the project actually started!

  • Choose File Form Data Create Spreasheet From Data Files

    I am following the tutorial for LC 8 and when I get to the topic titled "Collecting the data in a spreadsheet" it says to "Choose File > Form Data > Create Spreadsheet From Data Files".
    However, when I try to follow that path I do not see a "Form Data > Create Spreadsheet From Data Files" menu option.
    What am I not doing properly? How do I accomplish this task?
    Thanks!

    Thank you so much Paul. I have been trying all day to locate the method by which I could create a spreadsheet using the pdf submit route. I suppose the tutorial in CS4 should have been changed to reflect the changed explanations, but I guess that would be difficult to do. Anyway it worked and I can now do the analysis I need from my customers (lots of pupils!).
    Best wishes,
    Kevin Palmer

  • Photoshop CC on Windows 7 is saving the file "date" as the created date not the modified date

    I have been using a much older version of PS (CS2) and just decided to update to PS CC. I have installed the trial version of PS CC and will begin the CC subscription as soon as the trial expires.
    I have noticed that PS CC saves the (main) date of the files as the "created date" not the "modified date" as it pertains to Windows Explorer and the Windows OS.
    Here is what is happening: I have a file that I created in 2007 that I use for a template. It is sized to specific dimensions, etc. and when I do my save as, it automatically saves into the desired file folder, so that's why I use this as a template. I setup a new photo and then drag and drop it into my template, flatten the image and save as. When doing this with PS CS2, the date for the newly saved file was assigned as the modified date (current date and time). So, when I searched for the file in Windows Explorer or when I went to open the file, the date shown for the file was the modified date. NOW, with PS CC when I perform the exact same process and do a save as, the file date shown in Windows Explorer and/or when I go to open the file is showing as the created date (3/9/2007), the date that I created and saved the template I use. This is aggravating to me because now when I want to open a file and sort by date, the date shown in Windows Explorer is not accurate. As far as I can tell, this only happens in PS CC. When I open an old file with ID CC and do a save as, it applies the current date, not the created date. And, when I was using PS CS2, whenever I did a save as the current date was applied as well.
    In summary, when performing a save as, the created date is being applied as the main date instead of the modified date. The question is: Is there a way to change this so that the modified date can be applied as the main date for the file when performing a save as?

    Below are two files created the exact same way on the exact same computer: the top one was saved in PS CS2 and the bottom one was saved in PS CC. Both were saved using the "Save As" command. You will notice that when the "Save As" command was used in CS2 it updated the "Created:" date, however, in the CC version the "Created:" date was not updated, only the "Modified:" date was updated. Is there a way to update the "Created:" date when performing a "Save As" in PS CC?

  • File to file scenario - incomplete data created in AL11

    Hi all,
    I have a scenario where I split a single file to multiple files. So there are samples from the internet with or without using BPM and I was able to do them properly. The problem is, the result file only writes the first field of my structure, for example structure below:
    <Recordset>
      <RECORDS>
        <Field1>Value1</Field1>
        <Field2>Value2</Field2>
        <Fieldn>Valuen</Fieldn>
      </RECORDS>
    </Recordset>
    When I check in SXI_MONITOR, my data created three SubDocument (after the mapping) and contains all the fields in my data. However, in AL11 it only writes Value1 instead of Value1|Value2|Valuen........ The receiver comm. channel is properly populated with FCC values. Is there any authorization or config in the target folder that should be checked?
    Thanks!

    Hi,
    Problem is with your FCC , Please check it carefully or take some example from SDN.
    if not, Check the authorization for the particular file in the AL11 folder also the File Permission , 777
    Regards,
    Jude

  • .tmp file is created by NI Report generation toolkit for logging data to MS Excel

    Hi,
    I am getting ".tmp" file while logging data to MS Excel by NI Report generation toolkit. Instead of assigned file name, toolkit is generating a junk value with .tmp extension, but I can able to open this .tmp file with MS Excel.
    Can anyone help to solve this issue?
    Thanks,
    Thirumala

    Hi Thirumala,
    You may experience issues when you try to save a Microsoft Excel file if one or more of the following conditions are true:
    1. You save an Excel file to a network drive where you have restricted permissions.
    2. You save an Excel file to a location that does not have sufficient drive space.
    3. The connection to the Excel file has been lost.
    4. There is a conflict with an antivirus software program.
    5. You save an Excel file that is shared.
    6. The 218-character path limitation has been exceeded when you save an Excel file.
    7. The Transition Formula Evaluation feature is turned on in Excel.
    8. The file was created from a template that contains embedded objects.
    Hope this will help to solve your problem.
    Thanks,
    Sanad MM

  • Mismatch in "Date Created" in File Properties vs IPTC Core

    I have scanned my old photos in .jpg format.  When I try to change the Date Created (Select Photo -> Right-Click -> File Info... -> under IPTC Image -> Change the Date Created to the date the event was held), the Date Created under File properties did not change.  In effect, when I want to do a search of dates, it does its search on the Date Created in File properties.
    Can I change the date on the File Properties?  If so, how.  Can this be done on a batch, like synchronization of Date Created in File Properties and IPTC Core but using the information on the IPTC core.
    btw, I am using Bridge that comes part of the Photoshop CS2.
    Heeelllllppppp........

    There have been several posts about changing the "date created" in Bridge.  The conclulsion is NO.  There are other programs that can do this so concentrate your efforts there (do not have a list so will have to explore).
    Do not confuse the three "dates" that are in metastock.
         Date Created (as set by camera when shot).
         Date File Created
         Date File Modified

  • How to retrieve the "date created" of a picture file?

    Hi there
    How can I retrieve the date of the creation of a file?
    It's picture I have scanned, I need to authentify it's date of creation.
    Finder doesn't do it
    A utility in Photoshope CS3 ( XMP ) doesn't seem reliable.
    Is there any way I can retrieve with a utility , the code of the file and its date of creation?
    Much help appreciated
    PS:I dont have Aperture ( I figured I could ask in this forum)
    thanks

    Finder does do it. Select the file and choose File>>Get Info (command + i)
    It will tell you the date created and the date last modified.
    DLS

  • "Date Created" incorrect in Finder after copying image files from CF reader

    Whenever I download image files (by drag and drop copying) from a CF card reader, the 'Date Created' info incorrectly defaults to 'Dec 31, 1903' in the List view of the Finder window.
    'Date Created' shows up blank in the File Info window, too. Correct file info does however show up in the copied Meta Data.
    I've only been able to transfer correct 'Date Created' info by using Image Capture, which is pretty annoying.
    I've tried several cameras, CF cards, USB & FW card readers, and Macs running both Panther and Tiger. Same problem all around. Interestingly, files copy without a problem onto a PC.
    I'm a photographer and I need to sort my images by 'Date Created' because I often shoot with two cameras and need to know the chronological order in which photos were taken.
    Ideas anybody?
    G5 Mac OS X (10.3.9)
    G5 Mac OS X (10.3.9)
    G5   Mac OS X (10.3.9)  

    stqn wrote:
    photorec ?
    Edit: I see that testdisk and photorec belong to the same package... Still it looks like it should be the right tool for the job; but I might be wrong as I never used it.
    Used it a couple of times, my daughter wiped photos from her mobiles memory card by accident .... Linux to the rescue
    Last edited by Mr Green (2010-12-21 11:01:01)

Maybe you are looking for