Skip to content

Iconsistent reach of file C:/Windows/System32/drivers/etc/hosts #60

@dzmitry-lahoda

Description

@dzmitry-lahoda

Compiles:

  type Windows = FileSystem<"C:/Windows/System32/drivers/etc">
  let updateHosts name (ip:IPAddress) = 
    Windows.hosts

Not compiles (where is etc?):

  type Windows = FileSystem<"C:/Windows/System32/drivers">
  let updateHosts name (ip:IPAddress) = 
    Windows.etc

I want to reach C:/Windows/System32/drivers/etc/hosts which is like local DNS table, sometimes used to to ensure .NET IO classes map to right network storage by name. Hence change of hosts during deployment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions