Why not just use adir()?
    = adir(a, "automation.xlsx")
    ? a[1, 2]

Mike



-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Thursday, October 20, 2016 10:26 AM
To: [email protected]
Subject: Best way to determine file size from VFP9SP2 app using Excel
automation

My VFP9SP2 app creates an Excel file via automation.  I want to echo back to
the originating form the filename and filesize created.  I checked out the
FSIZE command but wondered if there was a better way to determine the
outputted file size?  These files are being created on a network drive, most
likely (unless the user chooses a local drive).  WSH (Windows Scripting
Host) comes to mind (but not sure if that's locked down).

tia,
--Mike


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to