2017-05-22 22:22:49 +00:00
|
|
|
SET /A RANDOMNUMBER=(%RANDOM% * 10) + %RANDOM% + 100000
|
|
|
|
SET USER_PREFIX=c
|
|
|
|
SET ARB_PREFIX=w
|
2017-05-22 22:28:04 +00:00
|
|
|
SET SCR_FILENAME=%ARB_PREFIX%%RANDOMNUMBER%
|
2017-05-22 22:22:49 +00:00
|
|
|
SET SCP_HOST=strawberry.thedevcave.net
|
|
|
|
SET SCP_REMOTE_PATH=public_html/screenshots
|
|
|
|
SET SCP_BIN="C:\Program Files (x86)\PuTTY\pscp.exe"
|
|
|
|
|
2017-05-22 22:28:04 +00:00
|
|
|
echo https://dcav.pw/%USER_PREFIX%%SCR_FILENAME%| clip
|
2017-05-22 22:22:49 +00:00
|
|
|
%SCP_BIN% %1 "%SCP_HOST%:%SCP_REMOTE_PATH%/%SCR_FILENAME%.png"
|