This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Create folder on a share

Former Member
Former Member
Hi All,

I would like to run this vbscript in a workflow transition but Shell Object does not work, anyone did it already ?

ParentFolder = "\server\sharedfolder\%PROPERTY_XXXX%"
set objShell = CreateObject("Shell.Application")
set objFolder = objShell.NameSpace(ParentFolder)
objFolder.NewFolder "%PROPERTY_XXXX%"

Thanks  ;D
Parents
  • I haven't tried using VBScript (not much new stuff is written using VBScript), but I would expect that it's possible at least with the Vault Application Framework. I would suspect that the main issue would be that it's unlikely that the account that the M-Files Server runs as has permissions to create folders in a remote network share.

    Regards,

    Craig.
Reply
  • I haven't tried using VBScript (not much new stuff is written using VBScript), but I would expect that it's possible at least with the Vault Application Framework. I would suspect that the main issue would be that it's unlikely that the account that the M-Files Server runs as has permissions to create folders in a remote network share.

    Regards,

    Craig.
Children
No Data