+ Post New Thread
Results 1 to 3 of 3
How do you do....it? Thread, BGInfo - how to format the output? in Technical; The one thing I can't work out in BGInfo is how to format, for example, the disk size data. For ...
  1. #1
    Number6's Avatar
    Join Date
    Feb 2009
    Location
    Worcester, UK
    Posts
    457
    Thank Post
    2
    Thanked 9 Times in 8 Posts
    Rep Power
    13

    BGInfo - how to format the output?

    The one thing I can't work out in BGInfo is how to format, for example, the disk size data.

    For example, if I use [SELECT Size FROM Win32_DiskDrive] the output is returned in the form of 160039272960 instead of the desired 160 GB. The same thing occurs with any such selected output, say for memory size, etc yet the preconfigured entry [Volumes:] outputs correctly as C:\ 72.77 GB NTFS for example.

    How can I achieve this formatting?

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,689
    Thank Post
    756
    Thanked 1,715 Times in 1,526 Posts
    Rep Power
    438
    It will show whatever the wmi returns which in that case is not what you are after.

    Have you though about calling a vbscript from bginfo then you can control the formatting?

    Ben

  3. #3
    Number6's Avatar
    Join Date
    Feb 2009
    Location
    Worcester, UK
    Posts
    457
    Thank Post
    2
    Thanked 9 Times in 8 Posts
    Rep Power
    13
    It crossed my mind but it's not important enough right now. I'm just running a one-off scan for a specific reason. I can live with it.

    I just wondered if some sort of maths operator could be embedded in the BGInfo screen, divide the result by 1000000000 for example. No matter.

    Thanks anyway.



SHARE:
+ Post New Thread

Similar Threads

  1. BGInfo
    By techie08 in forum Network and Classroom Management
    Replies: 8
    Last Post: 19th August 2010, 11:04 PM
  2. Blank BGinfo.bmp
    By dyoung5 in forum Windows
    Replies: 7
    Last Post: 16th March 2009, 10:59 AM
  3. BGinfo help!
    By mmoseley in forum Windows
    Replies: 34
    Last Post: 3rd October 2008, 07:29 PM
  4. BGInfo in logon script example?
    By ninjabeaver in forum How do you do....it?
    Replies: 16
    Last Post: 24th August 2007, 01:49 PM
  5. BGInfo on logon screen
    By Ric_ in forum Windows
    Replies: 17
    Last Post: 16th September 2006, 02:25 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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