Runing a file on client from an application on server

R

Riade

I have access application sitting on server

I want to copy a file from the server to client then execute it on the
client machine

I was able to copy the file to the client machine.

But when I run the copied file from application on there server

the file runs on the server

here is a the code I am using

dim strShell as string
filecopy("c:\setup.exe", "\\Client\C$\setup.exe")
strshell = shell("\\Client\C$\setup.exe")

Please help

Sincerely yours

Riade Asleh
 
Top