Question : How to install fonts in Windows 7, using VFP 9.0


I use the following code to copy a font, supplied with the application, to the users font folder.

      IF !FILE(GETENV("SYSTEMROOT")+"\FONTS" + '\USSBAR39.TTF')
               COPY FILE USSBAR39.TTF TO GETENV("SYSTEMROOT")+"\FONTS" + '\USSBAR39.TTF'
      ENDIF

I have some users on Windows 7 who get an 1102 error, "Cannot create file". I believe this is due to Windows wanting confirmation before making changes to a system folder.

What, if any, is the way around this?

Thanks for any advice.
Michael

Answer : How to install fonts in Windows 7, using VFP 9.0

Sorry, typo when copying and pasting.
That should have been
For /F "tokens=1*" %a in ( 'FIND /i "L3= " C:\zzsticker.txt' ) do set L3=%b
Random Solutions  
 
programming4us programming4us