Folder lock without Folder Lock

Hope you are not confused? This may sound a little strange for those who have not used “Folder Lock” before. Just for the sake of the records, “Folder Lock” is a software that you use to hide (or lock as it is called) your personal folders such that only you can open it when you want to open it. The software has a free trial version for you to enjoy the features. Folder Lock can be gotten here.

Now coming back home, when I say “Folder lock without Folder Lock”, I am simply talking about locking your folder – without using Folder Lock. The method I am going to give now has been tested and had a couple of successes (maybe a quadruple of them!), although there were some complaints. It is also not as efficient as folder lock so if you’ve got the money for folder lock, don’t hesitate to get it. As for the others (no offence…^_^), here is the method (the most detailed way I can put it).

::

The method uses a simple batch file to carry out the task. So we start by opening the notepad (or any other text editor you use). For those who do not know how to open the notepad, you can simply click the Start menu, then Run…, then type “notepad”. The content of the notepad should be as follows:

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho:"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass:"
if NOT %pass%== thisIsMyPassword goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

Note: remove…

thisIsMyPassword

…and replace with the password you want to use.

After typing this code (or copying it, but don’t forget the note above), save the file with the .bat extension as “locker.bat”. To save with the .bat extension from notepad, click File on the menubar, then Save As…, then in the “File type” dropdown menu, select “All files”, then in the “File name” textbox, enter “locker.bat”. That’s it!

For those who are too lazy to type or copy the code, or for those who made one or two errors when copying the code and therefore making the code not to work, here is a link to the document.

To get started, simply double-click “locker.bat” and a folder named “Locker” should appear. Save all the files you want to save into it. When you are done, double-click “locker.bat” again. It will ask you if you want to hide the folder. Enter “y” and hit the Enter key. To unhide it again, simply double-click “protect.bat” and enter your password.

That is all about locking your folder. Although I must warn you that this method is not very efficient, especially in the new versions of Windows. Use it wisely.

Advertisements

Free Programming eBooks

So I was looking for useful books I could get on the internet on programming and Computer Science, then I stumbled upon this gold mine of free books. I had no other choice but to post it here also. Click here for the original post. If after going through this you don’t find what you are looking for, well…you have 2 choices: either you request for it here, or you post it here yourself, or both. Either way, the books here are completely free…i guess. Enjoy!

Meta-Lists

Graphics Programming

Language Agnostic

ASP.NET MVC

Assembly Language

Bash

C / C++

C#

  • See .NET below

DB2

Delphi / Pascal

Django

Erlang

Flex

F#

Forth

Git

Grails

Haskell

HTML / CSS

Java

JavaScript

Linux

Lisp

Lua

Maven

Mercurial

.NET (C#)

NoSQL

Oberon

Objective-C

OCaml

Oracle Server

Oracle PL/SQL

Parrot / Perl 6

Perl

PHP

PowerShell

Prolog

PostgreSQL

Python

Ruby

Ruby on Rails

Scala

Scheme

Smalltalk

Subversion

SQL (implementation agnostic)

Vim

Websphere

Others
Linux related

Works of students in CMIS, Covenant University

Students of CMIS in Covenant University in the 2012 set have been quite busy recently. Programs have been developed by developers, websites designed by designers (…obviously!). Out of the many things that have been done, I have just been able to put these few here, but this will be updated regularly. Please leave comments below. The original links are placed there in case of updates that I am not aware of. Alright then, here goes…

Programs
Alarm Clock (Original link) by Joseph Marcus
Media Player (Original link) by Ogbizi-Ugbe Tony Emmanuel
UnhideFiles by…anonymous
Case management (Original link)by Alvyn Fasuyi

Websites
Seun Owolabi | Come let us change the world together! …by Seun Owolabi
ArtInvolve – Web Design and Development, Brand Development and  by (coming soon…)
HostSleek – WebHosting, Domain Names and Web Design …by Morris Junior

Blogs
Footprints by Ogbizi-Ugbe Tony Emmanuel

Learn C++ in 1 day!

Yeah…I know what you are thinking. How can you learn C++ in a day? Well, as I believe we all know, it is not possible to learn C++ in a day (or any other programming language actually, except you have an extraordinary skill at that). What I have here are helpful links that can get you started on the basics of C++ and general programming. Hopefully with these links, you can write little useful programs. The links are displayed below:

http://www.cplusplus.com/files/tutorial.pdf
http://www.softwarepreservation.org/projects/c_plus_plus/cfront/release_e/doc/Tutorial.pdf
http://www.ee.ic.ac.uk/pcheung/teaching/ee2_software_engineering/Lesson1%20-%20Introduction%20to%20BCB.pdf
http://mi.eng.cam.ac.uk/~cipolla/resource/tutorial.pdf

Serverless LAN Chat in vb.Net using UDP

Well, this is my first post and unfortunately (or fortunately), I don’t have enough time to properly edit it but I will do what I can do. I have been trying to work out how to write a program in vb.net that doesn’t use any server. Rather, a computer that has the program can communicate with another computer with the same program on the same network. In the process of study, I realized that the only way (or maybe the easiest way) to achieve this feat is by using the UDP (User Datagram Protocol) to send the message through a particular port and on a broadcast IP address so that any other PC that is listening for messages in the broadcast IP address can get the message without interference by any form of server. For further information about the UDP, click here. Although as we all know, nothing good comes easy. The UDP is not an efficient method of sending information because the message sent may not get to the recipient or if a sequence of datagrams are sent, they are not guaranteed to arrive the recipient in the same order in which they were sent. Any program that insists on using the UDP must therefore be ready to handle these setbacks. During my search, I came across several sites that have information on the chat system. These links (no matter how few) are listed below:

http://asp.dotnetheaven.com/util/srcview.aspx?path=~/howto/samples/net/TCPUDP/Chat.src
http://www.codeguru.com/forum/showthread.php?goto=lastpost&p=1556461
http://www.codeguru.com/forum/showthread.php?p=1556466#post1556466
http://www.codeguru.com/forum/archive/index.php/t-423773.html
http://www.codeproject.com/KB/IP/TCPIPChat.aspx

This list will be updated as deemed fit.  Enjoy!