I've following problem... I've Sybase SQL version 8. This server works in LAN. Next, on another computer (called computer A) I run my application which connects with sybase sql server throught net. Then, I synchronized ipaq (using activesync and mobilink) with computer A. In synchronization's scripts, there is a command
CALL xp_cmdshell('@echo ' + @session_id + ' > %TEMP%\mytmp.dat');
And the problem - I want that this file has been making on computer A. But - file's been making on computer with server probably, this code is executed on the server side. but I don't know, how execute it on client side.
Have you any ideas??