Is the EXE somehow running in a sandbox, or compatibility mode?
Tracy
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Vince Teachout Sent: Tuesday, March 30, 2021 12:43 PM To: profoxtech@leafe.com Subject: Re: Bizarre Desktop write problem driving me mad
Nope, none of the below apply. Shorcut is the default, and the behavior is the same if I navigate the path from c to users to vinny to desktop.
vinny is well under 8.3. My full path for the TO is a variable (same as yours, actually) with the value: "C:\USERS\VINNY\DESKTOP\MYTEST.PDF "
On 03/30/21 10:32 AM, Ted Roche wrote: Yeah, that's nuts-making.
Did you perhaps move your Desktop shortcut to another drive? I had a client issue where their personal folders were mapping to network shares and... weird things happened.
I did:
StrToFile("This is a test. This is only a test.","testfile.txt") cInFile = fullpath("testfile.txt") cOutFile = "C:\Users\tedro\Desktop\testfile.txt") COPY FILE (cInFile) TO (cOutFile)
and it worked.
Note my username is truncated (8.3!) in the Desktop path. Perhaps that's what you're running into? (In File explorer, right-click on Desktop, Properties for the creative renaming)
"A mind is a terrible thing to lose." -- Dan Quayle