Jump to content

Recommended Posts

Posted

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?

Posted

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

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...