RUN /N "C:\BOB\BOBLINK /CIE=01 /USR=AFM /MOD=CUSTOMER /MNF=COMPAN.DB /AUTOCLOSE"or
! /N "C:\BOB\BOBLINK /CIE=01 /USR=AFM /MOD=CUSTOMER /MNF=COMPAN.DB /AUTOCLOSE"
It is pretty limited in comparison to VB's Shell function, there is no return value (Resultat in your example) for instance. I think you can emulate the WindowStyle of vbNormalFocus by adding the number 1 after /NRUN /N1 "C:\BOB\BOBLINK /CIE=01 /USR=AFM /MOD=CUSTOMER /MNF=COMPAN.DB /AUTOCLOSE"I've not tested this however, nor have I used RUN in VFP 8 (I use VFP 6); there may well be improvements to how VFP 8 handles this kind of scenario.