hi i have made a batch file on my server computer and i need a way to access the server and execute that batch file. First of all i was thinking about using a ftp script to access the file and execute it but i wasnt sure if that would work. If this will work then please tell me and if it wont then can you provide me with another way to do it. Oh and the server is windows server 2003
Well I'd just write a little php script to do it.
<?php shell_exec('/path/to/file'); ?>
That is, if you can't ssh in, which sounds quite suprising. I'd ask you host about telnet or ssh capabilities.
oh i am the host
ok i have put this on
<?php shell_exec('/serverpannel/cod_start.bat'); ?>
is that all i need because it doesnt seem to work?