I think programs can lock a folder by having it set as the default folder (or it could just be a side effect of them storing something there). I’ve seen it every once in a while in other programs, but can’t remember the last time. I have not tried to see if I could reproduce in LiveCode yet. Ralph’s suggestion sounds like a good thing to try.
Thanks, Brian On Jan 24, 2019, 7:05 PM -0600, Ralph DiMola via use-livecode <use-livecode@lists.runrev.com>, wrote: > Beyond the obvious of having files open in the folder could it be that if > you trying to move LC's current defaultfolder it causes a problem on > Windows? > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Knapp Martin via use-livecode > Sent: Thursday, January 24, 2019 7:21 PM > To: Use Livecode > Cc: Knapp Martin > Subject: revMoveFolder on Windows > > I have an app that allows users to create documents and store then in a > specified folder. Via a preference setting they can move the folder to a > location of their choosing. I use revMoveFolder to do this. You can also > move the folder where you want and then drag and drop it on the preference > stack to establish the path to where it is. > > This works fine on Mac but not on Windows - it fails. In fact when the app > is open and I try to manually move the folder, Windows tells me "The action > can't be completed because the folder is open in another program." > > I understand that if a file was open by the app that this would come into > play but how is a folder open to another program? Is there a way around > this? > > Marty > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode