hey guys, wander if you can help.
i am trying to extract the date of a file using the above command. here is my code:

$smsw_date_time=GetFileTime($smsw_location)

also tried with:

cd "z:\filelocation"
$smsw_date_time=GetFileTime("file name.dfn")

the location is fine and is working for other copy etc commands so i know theres no problem there, but it still seems to return nothing.

im sure im doing something obviouse here, i think it just requires a more trined eye than my own.

thanx in advance