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