/ Forums / Advansys Formativ / Creating Solutions with Formativ / CopyHTMLToClipboard and space characters in file names / Reply To: CopyHTMLToClipboard and space characters in file names
In your sample, sFileName should be encoded so it is a valid component of a URL (“file://…” in this case). You can do this with Formativ:
dim iFileName dim oHtmlDom set oHtmlDom = Utilities.HTMLDom iFilename = oHtmlDom.HTMLEncode("C:Program FilesGroupWiseGroupWise.exe") ...
You may need to use other methods of HTMLDom to do all that’s needed, eg. DosPathToUnixPath.
I hope this helps you.