Windows 10 file paths

J. Landman Gay jacque at hyperactivesw.com
Thu Jan 14 15:48:39 EST 2016


I need to ensure the user has not deleted the revSecurity.dll file. This 
works on Windows 7 and under:

     put "revsecurity.dll" into tWinFile
     put the filename of this stack into tFilepath
     set the itemdel to slash
     put tWinFile into last item of tFilepath
     put there is a file tFilepath into tExists

It fails on Windows 10, which can't find the file. If the user manually 
opens the app folder, the file is there. Anyone know why?

Should I be using specialFolderPath("engine") or maybe the new 
specialFolderPath("resources")?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the Use-livecode mailing list