Sign in to follow this  
Followers 0
BigKahuna

File in Hidden Partition

3 posts in this topic

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0