Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
ඕනම රටකට සෙට් වෙන CV එකක්
ErMurazor
Updated:
Yesterday at 9:50 AM
Hambantota
7 Acres Beachfront Land For Sell DownSouth , PerPerch Price 420 000
1024 Digital
Updated:
Wednesday at 11:57 AM
Baseus PI LITE INDOOR CAMERA
ErMurazor
Updated:
Monday at 12:26 PM
Ad icon
Colombo
Hard Disk For Sale
mazza
Updated:
Oct 10, 2026
land for sale
justasking
Updated:
Oct 10, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
Sri Lankan Folder lock
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="helo256" data-source="post: 9044778" data-attributes="member: 311695"><p>[CODE]public static void Main()</p><p>{</p><p> int num;</p><p> try</p><p> {</p><p> Console.WriteLine("Flock Console app.");</p><p> Console.WriteLine("Created By Rukshan Ranatunge for sb2team \x00a4\x00a4\x00a4\x00a4\x00a4\x00df\x00df\x00d5\x00d5\x00d5\x00d5\x00d5\x00ae\x00ae\x00ae\x00ae");</p><p> Console.WriteLine("2010/02/03 9:10 Am");</p><p> Console.WriteLine("Locks or Unlocks Windows Folders");</p><p> Console.WriteLine(" e Mail : [EMAIL="sb2team@gmail.com"]sb2team@gmail.com[/EMAIL]");</p><p> Console.WriteLine("");</p><p> Console.WriteLine("Type exit to close this program");</p><p> do</p><p> {</p><p> Console.WriteLine("");</p><p> Console.WriteLine("Enter Target Folder Path : ");</p><p> string path = Console.ReadLine();</p><p> if (StringType.StrCmp(path, "exit", false) != 0)</p><p> {</p><p> if (Directory.Exists(path))</p><p> {</p><p> string str2;</p><p> Console.WriteLine("");</p><p> Console.WriteLine("Folder you selected : " + path);</p><p> Console.WriteLine("Forlder Created : " + StringType.FromDate(Directory.GetCreationTime(path)));</p><p> Console.WriteLine("Folder last accessed : " + StringType.FromDate(Directory.GetLastAccessTime(path)));</p><p> Console.WriteLine("Last written in folder : " + StringType.FromDate(Directory.GetLastWriteTime(path)));</p><p> Console.WriteLine("");</p><p> do</p><p> {</p><p> num = 10;</p><p> Console.WriteLine("Are you sure to lock this folder : (y/n)");</p><p> str2 = Console.ReadLine();</p><p> if (StringType.StrCmp(str2, "y", false) == 0)</p><p> {</p><p> FileSystem.Rename(path, path + ".{e17d4fc0-5564-11d1-83f2-00a0c90dc849}");</p><p> Console.WriteLine("LOCKED");</p><p> Console.WriteLine("Created by RuKsHaN RaNaTuNgE");</p><p> break;</p><p> }</p><p> }</p><p> while (StringType.StrCmp(str2, "n", false) != 0);</p><p> }</p><p> else if (!Directory.Exists(path))</p><p> {</p><p> string str3 = path + ".{e17d4fc0-5564-11d1-83f2-00a0c90dc849}";</p><p> if (Directory.Exists(str3))</p><p> {</p><p> string str4;</p><p> Console.WriteLine("");</p><p> Console.WriteLine("Folder you selected : " + path);</p><p> Console.WriteLine("Could not get information. This folder is locked");</p><p> Console.WriteLine("");</p><p> do</p><p> {</p><p> num = 11;</p><p> Console.WriteLine("Are you sure to unlock this folder : (y/n)");</p><p> str4 = Console.ReadLine();</p><p> if (StringType.StrCmp(str4, "y", false) == 0)</p><p> {</p><p> FileSystem.Rename(str3, path);</p><p> Console.WriteLine("UNLOCKED");</p><p> Console.WriteLine("Created by RuKsHaN RaNaTuNgE");</p><p> break;</p><p> }</p><p> }</p><p> while (StringType.StrCmp(str4, "n", false) != 0);</p><p> }</p><p> else</p><p> {</p><p> Console.WriteLine("Folder Does Not Exists");</p><p> Console.ReadLine();</p><p> }</p><p> }</p><p> }</p><p> }</p><p> while (1 != 0);</p><p> }</p><p> catch (Exception exception1)</p><p> {</p><p> ProjectData.SetProjectError(exception1, num);</p><p> Exception exception = exception1;</p><p> Console.WriteLine("Error : " + exception.Message + " Press any key");</p><p> Console.ReadLine();</p><p> ProjectData.ClearProjectError();</p><p> }</p><p>}</p><p>[/CODE]</p><p>tell ur friend to use C++ next time... peace out...</p></blockquote><p></p>
[QUOTE="helo256, post: 9044778, member: 311695"] [CODE]public static void Main() { int num; try { Console.WriteLine("Flock Console app."); Console.WriteLine("Created By Rukshan Ranatunge for sb2team \x00a4\x00a4\x00a4\x00a4\x00a4\x00df\x00df\x00d5\x00d5\x00d5\x00d5\x00d5\x00ae\x00ae\x00ae\x00ae"); Console.WriteLine("2010/02/03 9:10 Am"); Console.WriteLine("Locks or Unlocks Windows Folders"); Console.WriteLine(" e Mail : [EMAIL="sb2team@gmail.com"]sb2team@gmail.com[/EMAIL]"); Console.WriteLine(""); Console.WriteLine("Type exit to close this program"); do { Console.WriteLine(""); Console.WriteLine("Enter Target Folder Path : "); string path = Console.ReadLine(); if (StringType.StrCmp(path, "exit", false) != 0) { if (Directory.Exists(path)) { string str2; Console.WriteLine(""); Console.WriteLine("Folder you selected : " + path); Console.WriteLine("Forlder Created : " + StringType.FromDate(Directory.GetCreationTime(path))); Console.WriteLine("Folder last accessed : " + StringType.FromDate(Directory.GetLastAccessTime(path))); Console.WriteLine("Last written in folder : " + StringType.FromDate(Directory.GetLastWriteTime(path))); Console.WriteLine(""); do { num = 10; Console.WriteLine("Are you sure to lock this folder : (y/n)"); str2 = Console.ReadLine(); if (StringType.StrCmp(str2, "y", false) == 0) { FileSystem.Rename(path, path + ".{e17d4fc0-5564-11d1-83f2-00a0c90dc849}"); Console.WriteLine("LOCKED"); Console.WriteLine("Created by RuKsHaN RaNaTuNgE"); break; } } while (StringType.StrCmp(str2, "n", false) != 0); } else if (!Directory.Exists(path)) { string str3 = path + ".{e17d4fc0-5564-11d1-83f2-00a0c90dc849}"; if (Directory.Exists(str3)) { string str4; Console.WriteLine(""); Console.WriteLine("Folder you selected : " + path); Console.WriteLine("Could not get information. This folder is locked"); Console.WriteLine(""); do { num = 11; Console.WriteLine("Are you sure to unlock this folder : (y/n)"); str4 = Console.ReadLine(); if (StringType.StrCmp(str4, "y", false) == 0) { FileSystem.Rename(str3, path); Console.WriteLine("UNLOCKED"); Console.WriteLine("Created by RuKsHaN RaNaTuNgE"); break; } } while (StringType.StrCmp(str4, "n", false) != 0); } else { Console.WriteLine("Folder Does Not Exists"); Console.ReadLine(); } } } } while (1 != 0); } catch (Exception exception1) { ProjectData.SetProjectError(exception1, num); Exception exception = exception1; Console.WriteLine("Error : " + exception.Message + " Press any key"); Console.ReadLine(); ProjectData.ClearProjectError(); } } [/CODE] tell ur friend to use C++ next time... peace out... [/QUOTE]
Insert quotes…
Verification
Winadiyakata thappara keeyak tibeda?
Post reply
Top
Bottom