Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 7th, 2005, 03:20 PM
shedload shedload is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 24 shedload User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 30 m 8 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old June 20th, 2005, 03:05 PM
netytan's Avatar
netytan netytan is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Knighton, UK
Posts: 29 netytan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 7 m 44 sec
Reputation Power: 0
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
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.

Reply With Quote
  #3  
Old June 21st, 2005, 09:10 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
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.

Reply With Quote
  #4  
Old June 21st, 2005, 11:36 AM
Viper_SB's Avatar
Viper_SB Viper_SB is offline
Moderator
Click here for more information.
 
Join Date: Oct 2003
Location: Canada
Posts: 331 Viper_SB User rank is Private First Class (20 - 50 Reputation Level)Viper_SB User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 4 h 53 m 7 sec
Reputation Power: 5
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

Reply With Quote
  #5  
Old June 23rd, 2005, 02:23 PM
shedload shedload is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 24 shedload User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 30 m 8 sec
Reputation Power: 0
A big thank you

Many thanks for all your thoughts!


Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > cmd prompt help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT