I was chatting with a friend who had a huge music collection and I wanted to know what all he had. This provoked me to make a batch script which would do the job. I did some research online and found out some basics of batch scripts. This is the final thing which I ended up with.
@echo Directory listing will be created at c:\dirList.txt
@dir %1 /S > c:\dirList.txt
@echo Opening c:\dirList.txt in Notepad
I think it’s self explanatory. But still, I’ll go ahead and explain.
1. Prints “Directory listing will be created at c:\dirList.txt”
2. dir is a command which will print the list of directories and files. %1 is a variable which will contain the location from where you run this script. /s is a switch for Continue reading Batch Script to Generate File/Folder Listing
This was first posted in my old, dead blog Jazzed Up! on Dec 31, 2007 6:05 PM
Note: This trick is not specifically for BSNL Broadband, It applies for anyone who uses a broadband connection which requires you to connect using your username and password.
Wanted to schedule your BSNL Broadband Night Unlimited Connection to dial up automatically to the internet when the “happy hours” start because you wanted to download a huge file/use uTorrent? Well, here is a simple method. Now you don’t have to wake up every morning at 2:00 AM to connect or again at 8:00 AM to disconnect your connection.
Well, lets begin assuming that you have already finished setting up your connection, port forwarding etc. (see this for more information if you haven’t). This trick is very short and simple. Continue reading Scheduling Your BSNL Broadband Connection During Night Unlimited
This was first posted in my old, dead blog "Jazzed Up!" on Jan 28, 2008 11:17 AM
Wanted to learn java but never knew where to start? Well, if you have ever tried downloading the Java SE Development Kit (JDK), you might have found out that just installing it does not let you start programming right away! There are a few things to be taken care of. For people who came here looking for instructions after downloading the JDK, skip to the installation part.
Step 1: Downloading the Java Development Kit
For any programming language, you need to get some necessities in order to begin. For beginning programming in java, you’ll need the Java Development Kit. When I’m writing this, the latest version seems to be JDK 6 Update 4. So download it. If you are having problems downloading, I’ll outline the steps quickly.
Select platform: Windows, check I agree to the Java SE Development Kit 6 License Agreement (I doubt if anyone’s going to read this!?) and click Continue. Check the Windows Offline Installation and press Download Selected with Sun Download Manager. You’ll get a downlaod prompt for a .jnlp file. Either Continue reading Beginning Programming with Java: Installing JDK (for Windows)