BigKahuna Posted September 10, 2008 Share Posted September 10, 2008 I'd like to get the date and time from a file in a hidden partition, can this be done with Autoit? I'm using FileGetTime, and it works fine as long as you point to a file in a known drive, but I have a partition on my hard drive that I don't have (and don't want) a drive mapping for. I know the name of the partition and file, so there is no need to filter or search for it, I can script for it specifically. Basic example of my script, I'm looking for the date on a file called backup.dat on partition BACKUP; ---------------------- Local $File_Date Local $dmyyyy $File_Date = FileGetTime("??BACKUP/backup.dat??") If Not @error Then $dmyyyy = $File_Date[2] & "/" & $File_Date[1] & "/" & $File_Date[0] Else $dmyyyy = "Not Found" Endif MsgBox(4096, "File Date: ", $dmyyyy) ---------------------- Is there any way using Autoit scripting that I can point to that file on this partition? Can it be done? Any advice would be greatly appreciated. Link to comment Share on other sites More sharing options...
BigKahuna Posted September 11, 2008 Author Share Posted September 11, 2008 Ok, no takers, so I'm asuming then this can't be done with Autoit! Well then, is it possible to call or run VB script from within Autoit scripting? I have a bit of visual basic code that works, is it possible to imbed vb code into an autoit script and make it work? Link to comment Share on other sites More sharing options...
ResNullius Posted September 11, 2008 Share Posted September 11, 2008 Ok, no takers, so I'm asuming then this can't be done with Autoit!Well then, is it possible to call or run VB script from within Autoit scripting? I have a bit of visual basic code that works, is it possible to imbed vb code into an autoit script and make it work?If you can show us the vb code, it may be possible to convert it to AutoIt. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now