GoodKat Posted November 16, 2007 Report Posted November 16, 2007 Un trick vechi, dar folositor, daca vreti sa restrictionati accesul pe un folder fara nici-un soft.Ok, sa zicem ca vrem sa restrictionam accesul la folderul "games" pe partitia D: cu calea "D:\Games", pe aceasi partitie creeam un document text si punem asta in el:ren games games.{21EC2020-3AEA-1069-A2DD-08002B30309D}salvam acel document ca "loc.bat"Mai facem un document text in care punem linia urmatoare:ren games.{21EC2020-3AEA-1069-A2DD-08002B30309D} games salvam acel document ca "key.bat"Acum o sa vezi doua "programele" : loc.bat si key.bat. Daca dam dublu click pe loc.bat folderul se va schimba in "Control panel" si nu vei putea sa vezi ce contine, daca accesam key.bat, totul revine la normal.Bafta ! Quote
tw8 Posted November 16, 2007 Report Posted November 16, 2007 Acum o sa vezi doua "programele" : loc.bat si key.bat. Daca dam dublu click pe loc.bat folderul se va schimba in "Control panel" si nu vei putea sa vezi ce contineNu, ai gresit codul . In loc.bat trebuie sa pui:ren games games.{21EC2020-3AEA-1069-A2DD-08002B30309D} Bafta ! Quote
GoodKat Posted November 16, 2007 Author Report Posted November 16, 2007 Stiu tw8, mersi pentru observatie.Nu mi s-a copiat, am pus acelasi cod.Graba strica treaba... Quote
alcol Posted February 12, 2008 Report Posted February 12, 2008 Nici mie nu-mi merge :? Gasisem yo un "tutorial" cum sa pui "parola pe un folder",de fapt nu pui parola ci modifici niste optiuni ale folderului,iar apoi nu-l mai poate accesa doar daca remodifica acele optiuni PS: Daca vreti sa-mi spuneti si-l voi posta Quote
shamat Posted February 12, 2008 Report Posted February 12, 2008 Merge perfect. Copiati cu atentie ce a scris GoodKat si aveti grija sa salvati fisierul cu extensia bat. Quote
nicu1991 Posted February 13, 2008 Report Posted February 13, 2008 merge perfect (daca nu ai winrar sar putea sa ai probleme ) Quote
Renegade Posted February 14, 2008 Report Posted February 14, 2008 O mica alternativa la acest post.@echo off@title Blocheaza/Deblocheaza foldere by Renegade@cls@:start@cls@echo =============================================@echo = Blocheaza/Deblocheaza foldere by Renegade =@echo =============================================@echo.@date /t@time /t@echo.@echo 1. Cripteaza@echo 2. Decripteaza@echo x. Iesire@echo.@echo NOTE:@echo Fisierul ce trebuie criptat/decriptat sa fie langa acest executabil !!!@echo Utilizati "" pentru folderele ce contin spatiu in nume. Ex: "New Folder"@echo.@set choice=@set /p choice=Introducetzi numarul optziunii dorite.@if '%choice%' == '1' goto Criptare@if '%choice%' == '2' goto Decriptare@if '%choice%' == 'x' goto Iesire@if '%choice%' == '' goto start@echo.@goto start@:Criptare@cls@set folder=@set /p folder=Introduceti numele folderului @ren %folder% %folder%.{21EC2020-3AEA-1069-A2DD-08002B30309D}@cls@echo.@echo ##################################################@echo # Va multumesc ca ati folosit acest utilitar #@echo ##################################################@echo Apasati orice tasta pentru revenirea in meniu.@pause >nul@cls@goto start@goto start@:Decriptare@cls@set folder=@set /p folder=Introduceti numele folderului @ren %folder%.{21EC2020-3AEA-1069-A2DD-08002B30309D} %folder%@cls@echo.@echo ##################################################@echo # Va multumesc ca ati folosit acest utilitar #@echo ##################################################@echo Apasati orice tasta pentru revenirea in meniu.@pause >nul@cls@goto start@goto end@@cls@goto exit@:Iesire@clsSalvati intr-un batch file si faceti mai simplu lucrul. Quote
alcol Posted February 14, 2008 Report Posted February 14, 2008 Am reusit si yo da` am o mica problema Daca am un folder BUG(spatiu)Mafia,copiez alea iar in loc de "games" pun numele folderului meu si va fii:ren BUG Mafia.{21EC2020-3AEA-1069-A2DD-08002B30309D} BUG Mafiaapoi daca deschid fisiseru` loc.bat si intru in folder nu-mi blocheaza accesu` de ce?? Quote
panteras Posted February 16, 2008 Report Posted February 16, 2008 pune intre "" numele si va merge Quote
alcol Posted February 17, 2008 Report Posted February 17, 2008 Stergeti acest post ...din cauza netului...multumesc! Quote
alcol Posted February 17, 2008 Report Posted February 17, 2008 Multumesc am reusit Poate va intereseaoza o alta metoda 1.Deschideti discul local dorit(C:/D: )2.Tools ->Folder Options -> si debifati "Use simple file sharing(Recommended)"( http://i28.tinypic.com/35k8vaw.jpg ) ->Apply ->OK3.Click dreapta pe folderul dorit -> Properties ->Security( http://i26.tinypic.com/25slmas.jpg ) ->Alegeti contul vostru(in cazul meu ADMINISTRATOR)4.La permisiunea "Deny"(a contului ales) bifati toate casutele care pot fii bifate ( http://i32.tinypic.com/n3utkk.jpg ) -> Apply -> OK5.Pt. a avea din nou acces la folderul respectiv,Properties ->Security ->si debifati casutele de la permisiunea "Deny" ->Apply ->OK Quote
dabesteva Posted March 10, 2008 Report Posted March 10, 2008 O mica alternativa la acest post.@echo off@title Blocheaza/Deblocheaza foldere by Renegade@cls@:start@cls@echo =============================================@echo = Blocheaza/Deblocheaza foldere by Renegade =@echo =============================================@echo.@date /t@time /t@echo.@echo 1. Cripteaza@echo 2. Decripteaza@echo x. Iesire@echo.@echo NOTE:@echo Fisierul ce trebuie criptat/decriptat sa fie langa acest executabil !!!@echo Utilizati "" pentru folderele ce contin spatiu in nume. Ex: "New Folder"@echo.@set choice=@set /p choice=Introducetzi numarul optziunii dorite.@if '%choice%' == '1' goto Criptare@if '%choice%' == '2' goto Decriptare@if '%choice%' == 'x' goto Iesire@if '%choice%' == '' goto start@echo.@goto start@:Criptare@cls@set folder=@set /p folder=Introduceti numele folderului @ren %folder% %folder%.{21EC2020-3AEA-1069-A2DD-08002B30309D}@cls@echo.@echo ##################################################@echo # Va multumesc ca ati folosit acest utilitar #@echo ##################################################@echo Apasati orice tasta pentru revenirea in meniu.@pause >nul@cls@goto start@goto start@:Decriptare@cls@set folder=@set /p folder=Introduceti numele folderului @ren %folder%.{21EC2020-3AEA-1069-A2DD-08002B30309D} %folder%@cls@echo.@echo ##################################################@echo # Va multumesc ca ati folosit acest utilitar #@echo ##################################################@echo Apasati orice tasta pentru revenirea in meniu.@pause >nul@cls@goto start@goto end@@cls@goto exit@:Iesire@clsSalvati intr-un batch file si faceti mai simplu lucrul.Merge programelul Quote