BgInfo has a max length for wmi query?

Ermanno Goletto 5 Reputation points
2023-04-03T21:53:04.9633333+00:00

I want create a custom field for retreive the IPv4 only by using wmi query.

This is the query:

SELECT Destination FROM Win32_IP4RouteTable WHERE Mask='255.255.255.255' AND NOT (Destination LIKE '127.%') AND NOT (Destination LIKE '255.%') AND NOT (Destination LIKE '%.255') When I create the custom field and try Preview all is ok, but when i save and the reopen the file the custom fields are lost... I try with a wmi query more short no problem..
BgInfo has a max lenght on wmi query? From tests I ran it would appear that it is a 128 character limit.

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,235 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.