Re: is it possible (fake file)

From: Maxim S. Shatskih (maxim_at_storagecraft.com)
Date: 09/22/04


Date: Wed, 22 Sep 2004 04:06:26 +0400


> I would like to attempt to create a "fake file" where when you do a 'dir' or

WMI is the way to go.

What you want is a UNIX-style /proc in Windows. There is no such thing. You can
write one with a tremendous effort using the IFS Kit, but it is by far simpler
to go the suggested way, and the suggested way for /proc or sysctl()
functionality in Windows is WMI.

-- 
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


Relevant Pages

  • RE: Downloading Problem
    ... Event Type: Error ... WMI Windows Management Instrumentation ... The Windows Security Center Service has started. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Access is Denied after Win2K to XP Upgrade
    ... Repairing and re-registering the WMI ... MS-MVP Windows Shell/User ... Network Connections folder won't work right. ... A network error occurred in connecting to Windows Management ...
    (microsoft.public.windowsxp.setup_deployment)
  • RE: WMI Error
    ... Yes, try to look for third-party, like the Add-Ons mentioned in my earlier ... About Turning OFF the DEP protection, you can if you have a Good Anti-Virus ... P.S does starting the WMI service change any thing?. ... Turn on DEP for essential windows programs and services only. ...
    (microsoft.public.windowsxp.general)
  • Re: WMI files missing or corrupted
    ... The Windows Security Center was unable to establish event queries with WMI ... You can access Event Viewer by selecting Start, Administrative Tools, and ...
    (microsoft.public.windowsxp.help_and_support)
  • Win XP SP 2 WMI problem
    ... Top Threat: Windows Security Center Spoof ... disabled, or your antivirus is out of date, that news will display here. ... Management Instrumentation (WMI) subsystem built into Windows. ...
    (microsoft.public.windowsxp.configuration_manage)

Loading