I'm sorry Dinesh. I forgot about this thread.
To abnswer your question, I don't remember lol. I have not used DOS in ages. I did find this though:
DOS doesn't care one little bit about software that is 'installed'. You can delete files and folders in 'DOS mode' (aka at the command prompt) till you're blue in the face. But, uninstall needs to be run through Windows to remove entries in the registry. And, if you delete the files before you've run the uninstaller, it will often fail because it can't find the files that it needs to delete. Or, worse yet, you've deleted the uninstaller itself.
And This:
With the advent of Windows 2000 DOS ceased to exist! Every subsequent version of Windows has not been a DOS application or actually supported DOS Commands from the CLI that is built into ever version of Windows.
So if you wish to remove something from a Windows 3, 3.11 For Workgroups, 95, 98 or 98SE you can use DOS commands to remove programs but if you are attempting to remove programs from anything newer there is nothing available from DOS that can help you.
However if you are using the CLI in Windows NT, 2000, XP or Vista you can use the Basic Unix Commands to achieve this though it will be slow and messy to implement. You could also possibly write a Batch File to destroy every one of these programs on the entire network but you would have to know exactly what it was you where programming as the possibility of doing much more harm than good is always present.
And this: You need to look in the registry (try HKLM\Software\Microsoft\Windows\CurrentVersion\ Uninstall) and look for the command string for that program to install it with.
You could also look
here.
Hope this helps and again, sorry for the delay.