using system commands to import a font into the C:\Windows\Fonts
Author |
Message |
Sharkbait
|
Posted: Fri May 01, 2009 1:48 pm Post subject: using system commands to import a font into the C:\Windows\Fonts |
|
|
since my program is supposed to run on the school computers, it has to load the font every time it starts up basically.
var ret : int
system ("G:",ret) %school drive
system ("cd\Fonts",ret) %folder in my drive
system ("copy pulserifle.ttf C:\Windows\Fonts",ret) %copy the font and move it to the windows font file.
is what i have so far, and i've tried it with copying it first then moving it to the folder but that to has failed.
Is there a command to get the computer to install the font just as it does if you manually copy paste it?, any help will be very helpful. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Euphoracle

|
Posted: Fri May 01, 2009 3:04 pm Post subject: RE:using system commands to import a font into the C:\Windows\Fonts |
|
|
Use one of microsoft's programs
code: | xcopy G:\Fonts\* C:\Windows\Fonts\ |
or whatever the syntax is. Turing isn't want you want to use for these kinds of tasks. |
|
|
|
|
 |
BigBear
|
Posted: Fri May 01, 2009 4:08 pm Post subject: RE:using system commands to import a font into the C:\Windows\Fonts |
|
|
so through turing right now you only have defFontID? |
|
|
|
|
 |
Sharkbait
|
Posted: Sat May 02, 2009 3:43 pm Post subject: Re: using system commands to import a font into the C:\Windows\Fonts |
|
|
thanks for the suggestions, i just made a vb script to install the fonts instead. |
|
|
|
|
 |
|
|