Skip to main content

Posts

MS-DOS and INI file

I came into a requirement where I had to separate a DOS batch file and move all the variable and user specific setting into a separate file. So here is the solution: I created a new INI config file and declared my available in it. MyINIFile.ini UserName=MyUserName Datapath=C:\data ServerName=MyServer Here is how I am calling the INI file inside the batch file. MyBatchFile.bat FOR /F "tokens=1,2 delims=^=" %%A IN (MyINIFile.ini) DO (SET %%A=%%B ) ECHO %Datapath% ECHO %ServerName%

unable to open WMP, windows 7

I had this problem few days back. My WMP and WMC suddenly stop working. I was not able to open it. My sound drivers were working fine. Then I found this solution, this might help you too, if you have same issue. To resolve this: 1. Open cmd.exe is Admin mode. 2. type "regsvr32.exe jscript.dll". 3. type "regsvr32.exe vbscript.dll". 4. exit. Try now. I should work :)

Notepad as Personal Diary

1. Open a blank Notepad file 2. Write .LOG as the first line of the file, followed by a enter. Save the file and close it. 3. Double-click the file to open it and notice that Notepad appends the current date and time to the end of the file and places the cursor on the line after. 4. Type your notes and then save and close the file. 5. Reopen the file, you will see current date and time again. by this trick u can also use ur notebook as a personal diary.

The Google Dashboard

Hello folks Google have very interesting feature called "Google Dashboard". If you are having google account and using google services then you can use this google dashboard to check all the information in a single page. This Dashboard contains the following items: Alerts Blog Books Buzz Calander Contacts Reader Feed Youtube Orkut Gmail and other services. To access Google dashboard, go you your Account Information page for your google account. Under the Personal Information page, there is a link for your Dashboard.