|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
VBscript for timestamp
Hello,
Does anyone know the VBScript for this kind of situation: I have data from HPLC runs collecting on an Aquistion computer. The data collects into individual files depending on how many HPLC runs are done. For example, if I do 3 HPLC runs, I have the data collected on the computer in typical Windows format, with the 3 filenames, date and timestamp when collecting was finished, size, etc. I am trying to find a way to pull the date and timestamp info into a place that I can work with it further, like MS Access. Is there a VB script command to do this - pulling the filename, date & timestamp from the main windows screen and importing the information into another place? |
|
#2
|
|||
|
|||
|
I'm sure there is no off-the-shelf script that would do what you want (well, maybe the TTC 'Telepathic Text Control'
). But the functionality you describe should be fairly easy to implement with your own code.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Ok, well I do not how to proceed about this.
For a simple case of what I am asking: Open C:\Program Files\Microsoft Office\Office Here you should see various file types & file extensions of the Microsoft Office suite. If you click on View tab, and View>Details, you should see the filename, size, type, and date modified timestamps. How would you extract this information by code and pull it into text format that can be played around with? I am specificially looking to extract the timestamps into a text-usable format. |
|
#4
|
||||
|
||||
|
--moved to the Windows Scripting forum.
The VB forum is for Visual Basic issues. |
|
#5
|
|||
|
|||
|
Hello, does anyone know how to do this??
Please do this again before answering my question: Go to My Computer --> Open C:\ drive --> Change your View settings by going to tab View> Details. You should see files on your computer with Filenae, Size, Type, and Date Modified (if you are in a typical Windows setting). What script or software can I use to export the Filename and Date Modified information? I need it to be exported into a text file, work within Notepad, etc. |
|
#6
|
|||
|
|||
|
Use the filesystem object. It's documented in the msdn library online.
|
![]() |
| Viewing: ASP Free Forums > System Administration > Windows Scripting > VBscript for timestamp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|