Questions with golang exec.Command()

I am running an endpoint to receive and execute Windows command sent via post request. The main codes are as follows:

    glog.Infofln("command: %s\n", cmd)  --cmd is the command to be executed.
    out, err := exec.Command(cmd).Output()
    if err != nil {
    fmt.Printf("The date is %s\n", out)

The code can receive and execute commands I sent. However there are 2 questions:

  1. The result of non-English characters cannot be displayed normally. Is there any method that can convert result to utf-8?

  2. I can execute ipconfig, but for some other commands such as dir, netstat -ano | findstr 51888, the code quits and says:

    exec: "dir": executable file not found in %PATH%

How to address these 2 issues? Any help is appreciated.