|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
cmd prompt help
I want to be able to list all applications I have installed on my Window Xp computer.
What is the cmd prompt for this and can I print of what it lists from the command window? Does the cmd prompt differ for the same action on Me and windows 98? Thanks in advance |
|
#2
|
||||
|
||||
|
I don't have access to a Windows box right now in order to test anything however I would suggest that you check out this article:
http://www.netopia.com/support/howtodocs/netoctopus/pmsi.html If you were planning to write your own utility you will probably have to query the registry looking for all the applications. There's usually a module for accessing the registry available for most languages around today .In any case, so far as I'm aware there haven't been any changes to the command line for a long time. There have been a few more utilities added recently but I wouldn't really count these as changes so .Hope this helps, Mark. |
|
#3
|
||||
|
||||
|
on Windows XP [and I believe 2000], there *is* a difference between cmd.exe and command.com
cmd.exe identifies itself as: Code:
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. command.com identifies itself as: Code:
Microsoft(R) Windows DOS (C)Copyright Microsoft Corp 1990-2001. Some of the differences I've noticed are... when in cmd.exe and you want to access "C:\Documents and Settings\" You can type "cd docu" then press TAB... cmd will change your command to "cd 'documents and settings'" There's other fancy stuff too, I don't remember them all though. I'm also not sure the purpose of both... perhaps backwards compatibility. But when you're at the run prompt [Start > Run], be aware of which you type... cmd and command are different. |
|
#4
|
||||
|
||||
|
like netytan said your best bet for a full list of programs is the registy (does win ME and 98 have one? I guess they do but it's been so long since I've used them
)@madcow yes it's for backwards compatibliity, also with cmd.exe you can see full paths i.e more then 8 char per file and directory |
|
#5
|
|||
|
|||
|
A big thank you
Many thanks for all your thoughts!
![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > cmd prompt help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|