Results 1 to 3 of 3

Thread: How to find out OS or computer details

  1. #1
    Join Date
    Feb 2003

    How to find out OS or computer details


    I'm writing a code using DOS batch and excel macro, that needs to behave differently on desktops and tablet PCs.
    When I use operating system property (Both it runs on Windows XP) it showed me win NT 5.x
    Is there anyway/command so that I can identify the machine.

    The more one comes to know a man the more one admires a dog.

  2. #2
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    United Kingdom: Bridlington
    Hello Darknite ,

    Is there any way you can persuade me that your question is honourable?

  3. #3
    Join Date
    Jul 2005
    First of all, DOS Batch programming? Are you born in the previous century? That's antique stuff you're talking about! Oh, well... People still seem to call it that but basically, it's not really DOS that you're using here.

    I can't provide any examples here but I would advise you to look into WMI, or Windows Machine Instrumentation. This is part of the operating system and basically it is what you should use to get access to all kinds of system information. It will depend on some scripting, though. But with a call to CScript, that shouldn't be too difficult either.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts