Skip navigation

The Good, Better, and Best Ways to Find Constants and Their Values in WSH Scripts

The COM technology behind objects such as Windows Script Host's (WSH's) WshShell object and the Microsoft Scripting Runtime Library's FileSystemObject object is what makes WSH scripts powerful. However, the way this technology works causes scripters grief in one area: Scripts don't get access to the constants embedded in objects. Learn why scripts don't get access and find out the good, better, and best ways to workaround this limitation in the article "How to Find Constants and Their Values" by Alex K. Angelopoulos. I've opened up this article for public viewing through January 3. If you enjoy reading this article, you can get more of this type of content by subscribing to Scripting Pro VIP.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish