How to enable http compression for a folder in IIS 6.0

By default, when you try to enable compression for a folder in IIS 6.0, you will get the following error message G:\Inetpub\AdminScripts>cscript adsutil.vbs set w3svc/1/root/sample/DoDynamicCompression trueMicrosoft (R) Windows Script Host Version 5.6Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. The path requested could not be found.ErrNumber: -2147024893 (0x80070003)Error Trying To Get the Object: w3svc/1/root/sample In…

2