# File lib/chef/win32/api/file.rb, line 461
        def encode_path(path)
          path.gsub!(::File::SEPARATOR, ::File::ALT_SEPARATOR)
          (path_prepender << path).to_wstring
        end