Thursday, 23 October 2014

Batch programming:Hiding a folder

This article is about batch programming, it's one of the cool things you should try...
its very easy to understand the language.Let's learn hiding a folder ;)


Just take any folder you wanna hide, open it's parent folder (Parent folder: Folder in which your folder is situated, if it is desktop, then go to MY COMPUTER-->C:[Or else in which drive your OS is installed]-->Users-->Your User Account name-->Desktop(Don't open it))
1.Press Shift+Right Click on the parent folder/Desktop(In case you have gone for second option) folder. 2.Click Open command window here 3. Type the following in command window and press enter, just replace foldername with the name of your folder you wanna hide: attrib +h +s foldername 4.In case you want to unhide the folder just type '-' in place of '+', i.e: attrib -h -s foldername

See just with one line you can hide/unhide a folder...
There are many more things you can do with batch programming like changing the background and text colour of the command window (I know that's not cool) but much more than that...

Saturday, 20 September 2014

HTML : An Introduction

Hello friends! This is my first post in my blog COOLSTUFFZ . I have a good experience with HTML, So I expect you will not have any difficulty in understanding me as i will try to explain in easy words.
The basic problem of all human being is they want to learn everything in 2-3 days without understanding how difficult/easy the task is. To motivate you, I want to tell you that HTML (hyper text markup language) is as simple as to learn...hmmm... anything which seems easy to you. Yeah! Start today and tomorrow you can make a basic website. And if you practice regularly for 45-60 mins/day. In nearly a week you will be able to make a webpage/website which seems impossible to you now. So, without wasting any more time, let's go....

Materials required:
Text editor
Working PC (just kidding)

Procedure:
Just write the program which I show you in any text editor but while saving save it with .html extension (it means after writing the name of file type .html after it) example: filename.html

Just see the image, it is the basic visual structure of HTML.
You start with an empty box labeled HTML. Open it, put anything you want inside it and close it back the main point never forget to close it back [You put a backslash before the name of tag to close it, you will see in below example...] HTML and BODY are two main boxes which are necessary for every website you make.
Upto here I was using word box for you to understand but we call it tag in HTML language and it is written in between two angle brackets i.e "< >"

Example : <html> , <body> ,etc...
So, we saw a visual basic structure but basic structure for writing language is ::
<html>
<body>
Content
</body>
</html>

<html> is like opening html box and </html> is like closing it back.

<body> is like opening body box and </body> is like closing it back.

And anything between body tags (for your understanding... anything inside box labeled Body) is whatever you want to display/you see in browser.

These were the basic.... :P

Next part will be updated soon....