Nepali Posted September 23, 2005 Posted September 23, 2005 i have runonce command..during installation UAXP, i have gave command to copy all the fonts in fonts folder.Now the problem is to register the fonts.now what i need is when computer boots for the first timeit must do following task:1. delete all scr files from system322. remove unwanted *.lnk files frm start menu3. register fonts ( open font folder and automatically closes folder) i have used autoit script now but it can't perform the task as i wanted... coz.. runonce executes before explorer loads,, so autoit script doesn't worked.but if explorer is loaded it will work superb.4. restart PC automatically after 1 min
bledd Posted September 23, 2005 Posted September 23, 2005 you could add an entry to Startup using runoncex which calls a batch file that adds a runonce for the second load..
Nepali Posted September 23, 2005 Author Posted September 23, 2005 (edited) how ...can u give example ?i need to execute autoit script after explorer is loaded Edited September 23, 2005 by Nepali
Nepali Posted September 24, 2005 Author Posted September 24, 2005 what command r u using for registring fonts in UAXP CD
MHz Posted September 24, 2005 Posted September 24, 2005 i have used autoit script now but it can't perform the task as i wanted... coz.. runonce executes before explorer loads,, so autoit script doesn't worked.but if explorer is loaded it will work superb.4. restart PC automatically after 1 min<{POST_SNAPBACK}>Two RunOnce keys are available. You must be using HKLM RunOnce? HKLM RunOnce waits for completion before loading the Desktop. HKCU runs when the startup folder does, and runs while the Desktop is active. I have not registered fonts unattended, but I use HKCU RunOnce to run my AutoIt script and it does well. HKCU RunOnce also removes those shortcuts in time that are not created until the desktop is active.
dwit Posted September 24, 2005 Posted September 24, 2005 you could try using fontinstaller.exeCheck this page out. it tells you how to use the utiltiyand i've included a direct download too.PCRC Applications FontInstallerFontInstaller.exe
dwit Posted September 24, 2005 Posted September 24, 2005 (edited) Oh and just in case you don't know you no longer need to use autoit to intall the fonts and you really have the option of making the sfx and then calling it from the batch file like any other prog or calling the utility dirctly just make sure your fonts are in the same folder along with the "'fonts.dat'" file.cool?Good luck. Edited September 24, 2005 by dwit
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now