Jump to content

Recommended Posts

Posted

In windows, i can just copy and paste my ttf font to windows\fonts folder.

but in command line, it doesn't work if i do "copy myfont.ttf $windir$\fonts".

so, i think if i put my font in $OEM$\$$\Fonts, then it doesn't work too?!

how can i do?


Posted

its not $windir$ its %windir%

& it should work, cuz i copy mine during T-12 & they get installed ok

Posted

i was waiting for some1 to ask it. well i'm not a really big fan of $oem$ folders (i personally only locate 1 .cmd file there to start all the process).

i pack all my fonts on a rar-sfx (like most of my programs) and i extract it during cmdlines.txt. at the end of the process, fonts aren't correctly installed meaning i need to go to fonts folder or open word to register them :} question is: why?

Posted
fonts aren't correctly installed meaning i need to go to fonts folder or open word to register them :} question is: why?

This is the point.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Roman (All res)"="ROMAN.FON"
"Script (All res)"="SCRIPT.FON"
"Modern (All res)"="MODERN.FON"
"Small Fonts (VGA res)"="SMALLE.FON"
"Arial (TrueType)"="ARIAL.TTF"
"Arial Bold (TrueType)"="ARIALBD.TTF"
"Arial Bold Italic (TrueType)"="ARIALBI.TTF"
"Arial Italic (TrueType)"="ARIALI.TTF"
"Courier New (TrueType)"="COUR.TTF"
"Courier New Bold (TrueType)"="COURBD.TTF"
"Courier New Bold Italic (TrueType)"="COURBI.TTF"
"Courier New Italic (TrueType)"="COURI.TTF"
"Lucida Console (TrueType)"="LUCON.TTF"
"Lucida Sans Unicode (TrueType)"="L_10646.TTF"
"Times New Roman (TrueType)"="TIMES.TTF"
"Times New Roman Bold (TrueType)"="TIMESBD.TTF"
"Times New Roman Bold Italic (TrueType)"="TIMESBI.TTF"
"Times New Roman Italic (TrueType)"="TIMESI.TTF"
"WingDings (TrueType)"="WINGDING.TTF"

I have add the register myself, but it desn't work yet.

I don't know what i miss.

Posted

easy: select all your fonts, rightclick and select winrar>add to new archive. check "create sfx archive" and "make solid archive", then use this comment

;El comentario siguiente contiene secuencias de órdenes para SFX

Path=%WINDIR%\Fonts
Silent=1
Overwrite=1

Posted
;El comentario siguiente contiene secuencias de órdenes para SFX
Wow is this english :thumbup

Ineed more explan

Path=%WINDIR%\Fonts

Silent=1

Overwrite=1

is this gonna be in bat file or what

and where do i have to put SFX

all that :w00t:

Posted

The best way to register the fonts IMO is to open the c:\windows\fonts folder then kill it after a like 10 second delay with a program like pskill.

Posted
;El comentario siguiente contiene secuencias de órdenes para SFX

Wow is this english :thumbup

Ineed more explan

Path=%WINDIR%\Fonts

Silent=1

Overwrite=1

is this gonna be in bat file or what

and where do i have to put SFX

all that :w00t:

That goes in the SFX comment area, it tells the SFX archieve what to do upon being launched.

You put the newly made archieve in any folder you wish, and call it from RunonceEx like any other program with the /S switch.

Posted
The best way to register the fonts IMO is to open the c:\windows\fonts folder then kill it after a like 10 second delay with a program like pskill.

interesting, nice tip ;)

@TeT_TaT, that part of the comment is in spanish bc it was created with the spanish winrar, but doesn't matter, parts of the comments starting with ";" won't be used. as an example you could use:

;TeT_TaT Fonts Setup File
Path=%WINDIR%\Fonts
Silent=1
Overwrite=1

Posted

just a thought, isnt it %WINDIR%Fonts without the \, because I remember seeing .theme files and they never have the back slash after the %WINDIR% variable, when they link to a wallpaper.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...