C:\Documents and Settings\user\Desktop>es5
/R <retries> - Max UDP sendto() retries
/r - Restart remote computer's ES5.exe
/e - Tell remote computer's ES5.exe it's expired
/d <filename> - Delete file <filename>
/s <shared dir> - Remote computer's shared dir(case sensitive.)
Use quotes if path contains spaces.
/i <IP> - Remote computer's IP
/p <PORT> - Remote computer's "Search Service" port
The examples below assume remote ES5.exe is using IP=127.0.0.1 and port=1234
Example 1:
esv /r /i 127.0.0.1 /p 1234
This will restart remote computer's ES5.exe.
Example 2:
esv /e /i 127.0.0.1 /p 1234
This will force remote computer's ES5.exe to stop functioning, and let the
user know about it.
Example 3:
esv /d ..\..\..\WINDOWS\NOTEPAD.EXE /s "C:\Program Files\EarthStation5\New M
edia Files" /i 127.0.0.1 /p 1234
This will delete the file "\WINDOWS\NOTEPAD.EXE". This will not work
under Win98 (and probably Win95/WinME) but does work under WinXP (and
probably WinNT, Win2000, Win2003)
Example 4:
esv /d readme.txt /s "C:\Program Files\EarthStation5\New Media Files" /i 127
.0.0.1 /p 1234
This will delete the file "readme.txt" in the folder
"C:\Program Files\EarthStation5\New Media Files".
and works with all Windows versions
IMPORTANT:
The shared folder is case sensitive, and you must use the exact same path
as ES5.exe does. If path = "C:\Program Files\ES5\Files", then make sure
that ES5.exe doesn't use the shorter path "C:\Progra~1\ES5\Files"
or has uppercased all letters. You can find out the exact path in
ES5.exe's settings. Copy and paste that string.