Windows 7 does not allow Lotus script to save file on disk

I have a script which downloads files to C:. It is not working in windows 7.

Any idea / workaround?

Forall Attachment In rtitem.EmbeddedObjects

	If Attachment.Type = EMBED_ATTACHMENT Then

		'Detach the file to C:\ root directory

		Call Attachment.ExtractFile( "C:\" + sResourceFile )

		'There is only one attachment, so exit loop

		Exit Forall

	End If

End Forall

Subject: I would try a path other than root…

Subject: path other than root

…and be sure that the directory already exists:

c:\Temp always works nicely

Subject: not working?

what do you mean by, it’s not working? error message? My guess would be some sort of permissions issue.

Subject: It is windows7 UAC problem

Yes, it is windows7 UAC problem.

Users have C: drive nothing else. The script executes and when it tries to extract file to c:, it errors out. if I reduce UAC to “never notify me” then it works fine.

Do we have a workaround for this problem?