code: def win_shortcut(source, link_name):
      
      if True:
          import ctypes
          kdll = ctypes.windll.LoadLibrary("kernel32.dll")
          code = 1 if isdir(source) else 0
          kdll.CreateSymbolicLinkA(source, link_name, code)
      else:
          import ctypes
          csl = ctypes.windll.kernel32.CreateSymbolicLinkW
          csl.argtypes = (ctypes.c_wchar_p, ctypes.c_wchar_p, ctypes.c_uint32)
          csl.restype = ctypes.c_ubyte
          flags = 1 if isdir(source) else 0
          retval = csl(link_name, source, flags)
          if retval == 0:
              #warn_msg = '[util_path] Unable to create symbolic link on windows.'
              #print(warn_msg)
              #warnings.warn(warn_msg, category=UserWarning)
              if checkpath(link_name):
                  return True
              raise ctypes.WinError()
docs: Attempt to create windows shortcut
      TODO: TEST / FIXME
  
      References:
          http://stackoverflow.com/questions/1447575/symlinks-on-windows