Create Dir UNC (OCX)
May be you'll have to create a folder on a Shared folder, but with the LAutFileSystemObject you can't. So Register this ocx, and write the followinfg function in a codeunit and use it like this
CreateSubDirUNC(''\\computer\share\2000\10');
\\computer\share\2000\ must exist or use before
CreateSubDirUNC(''\\computer\share\2000');
Function to paste in a codeunit: with variable
Name DataType Subtype Length
CreateFold OCX MyCreateFolderOCX Control
CreateSubDirUNC(ItxtSubdir : Text[1024])
CLEAR(CreateFold);
CreateFold.CreateFolder(ItxtSubdir);
http://www.mibuso.com/dlinfo.asp?FileID=939
Discuss this download here.
Comments
i think you can use the shell command like this somehow:
though i'm not totally sure.
if you think the security messages are anoying use the automation variable 'Windows Script Host Object Model'.WshShell (lclsShell) and the 'run' method of this object.
These methods do not require you to distribute an OCX file to client computers.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!