executing a .exe file on remote computer
-
i am working on a project in which i hav to copy a .exe file to all the pcs' on the domain and the execute it with in a single loop, i used File.copy to copy and invoke psexec to exe cute the file, the problem is that psexec give file error bcoz the file is in use by copy command, when i restart the application the psexec execute the file that was copied when i first run the application
-
i am working on a project in which i hav to copy a .exe file to all the pcs' on the domain and the execute it with in a single loop, i used File.copy to copy and invoke psexec to exe cute the file, the problem is that psexec give file error bcoz the file is in use by copy command, when i restart the application the psexec execute the file that was copied when i first run the application
lets have a look at the code as well ! you can have a look at the article for reference http://support.microsoft.com/default.aspx?scid=kb;en-us;827227[^]