This is way off the norm, but there is none smarter than here.
My VFP 6.0 app depends on the existance of a prticular file existing. This file is generated by another application running a batch script. Every so often after a file has been created the user needs to re-create the file. The trouble comes when the file is opened by someone already.
The batch trys to run and fails because the file can not be overfiled.
I need help to adjust the script to notify the user that the operation has failed. Here is the code I have so far:
Del C:\document1.pdf
If Exist C:\document1.pdf GoTo ExitBatch
GoTo Done
:ExitBatch
>>>>> I need code here to notify the user <<<<<<<<
:Done
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement