Thanks for your reply Larry, but I does not work, I have already tried it
>You could add "EXIT" as the last line of your batch file...
>
>HTH
>
>>Hello guys, I have the following question
>>
>>I am using The Process class to initiate a BAT file, that I created using VFP, the BAT name changes everytime.
>>Now the Class has a routine that will check whether the DOS box has finish or not doing it stuff. But it happens that with my BAT I does not change the value of that exitcode, until I manually close the DOS box and then the value changes.
>>
>>I know that by going into WExplorer and right clicking the properties related with that BAT file, I can choose the "Close on Exit" propertie s but that would only apply to that specific name.bat file.
>>
>>Is there a way that I can enable that property at run command?
>>
>>Aie:
>>batchprogram.bat some keys
>>
>>
>>TIA
>>
>>Mark Oliva
Précédent
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