I am running multiple server all with different operating systems. Window sever 2003 32bit, Windows server2008 64bit, Window server12 R2 64bit.
The problem I was having was in only in Window server2008, that I was not able to execute in Dos window. The same line of code worked in both the other servers but in Window Server2008.
Set Path To D:\Referral_Client\RClient\build\classes
cRunCommand = "Run Java rclient.Client "+crefid
&cRunCommand
After starching my head for 3 days finally I found the solution solution, was to use batch file.
Batch File: RClient.cmd
code for RClient.cmd, Type it in note pad and name it whatever you want my file name is RClient.cmd.
*****************************************
D:
cd D:\Referral_Client\RClient\build\classes
Java rclient.Client %1
pause (for testing only)
***************************************
In foxpro use this command to call your batch file RClient.cmd
***********************Work around for window 2008 *********************************
cRunCommand = "D:\Referral_Client\RClient.cmd "+crefid
RUN /n &cRunCommand
*******************************************************
The problem I was having was in only in Window server2008, that I was not able to execute in Dos window. The same line of code worked in both the other servers but in Window Server2008.
Set Path To D:\Referral_Client\RClient\build\classes
cRunCommand = "Run Java rclient.Client "+crefid
&cRunCommand
After starching my head for 3 days finally I found the solution solution, was to use batch file.
Batch File: RClient.cmd
code for RClient.cmd, Type it in note pad and name it whatever you want my file name is RClient.cmd.
*****************************************
D:
cd D:\Referral_Client\RClient\build\classes
Java rclient.Client %1
pause (for testing only)
***************************************
In foxpro use this command to call your batch file RClient.cmd
***********************Work around for window 2008 *********************************
cRunCommand = "D:\Referral_Client\RClient.cmd "+crefid
RUN /n &cRunCommand
*******************************************************