Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 476 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 476 Bytes

Windows Explorer Utils

Package explorer provides access to the Windows Explorer registry.

Installation

go get -u github.com/martinveverka/go/windows/explorer

Quickstart

Here is a simple example of getting a current user Pictures folder.

import (
	"github.com/martinveverka/go/windows/explorer"
)

path, err := explorer.GetUserShellFolder(explorer.MyPictures)
if err != nil {
	panic(err)
}

fmt.Printf("My pictures folder is %q\n", path)