If I remember correctly (been a while since using FPD) trapping errors .. Something like
ON ERROR x=1 X=0 Do command If x=1 Handle error endif -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Darren Sent: Sunday, 25 October 2015 9:44 AM To: [email protected] Subject: RE: FPD 2.6 test for a drive without crashing John Is it a mapped drive or UNC + share ? -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of John R. Sowden Sent: Sunday, 25 October 2015 9:29 AM To: [email protected] Subject: FPD 2.6 test for a drive without crashing Is there is way in FPD 2.6 to test to see if a drive is working without having the program crash. I have a network where I test for a remote drive (peer to peer net) before attempting to connect to it. I set a variable (above is done in the autoexec.bat) re: the sytatus of the remove node being on line. If there is a change in the drive, such as a reboot of the remote computer, the environment variable does not change, but the drive is no longer accessible. When I am in fpd, I want to confirm the drive is available before using it so it doesn't crash. I checked the sys() functions, but none seem to meet the concern. John [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.

