Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Help with copy netlogon fonts folder

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,64396
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Help with copy netlogon fonts folder
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Help with copy netlogon fonts folder - 9/19/2008 4:07:22 AM   
  ncts_dodge_man

 

Posts: 1
Score: 0
Joined: 9/19/2008
Status: offline
I've put a Fonts folder in the netlogon of my server, and I want to copy any fonts that don't exist on my network pcs.  We use all sorts of fonts, and there are enough fonts that I don't want to manually copy to each person

Here is what I have: (pulled from my larger vbs script, hence the rest of the variable names)

If I have the echo's un-commented, all I get is the begin loop echo - it doesn't go into the folder.

Help?


      
 
 
Post #: 1
 
 RE: Help with copy netlogon fonts folder - 9/19/2008 4:40:21 AM   
  dm_4ever


Posts: 2669
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
...for starters

set objSFolder = netLogon & "\netlogon\Fonts\"  >>> should be objSFolder = netLogon & "\netlogon\Fonts\"

_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to ncts_dodge_man)
 
 
Post #: 2
 
 RE: Help with copy netlogon fonts folder - 9/19/2008 11:22:27 AM   
  TomRiddle


Posts: 191
Score: 4
Joined: 2/7/2008
Status: online
It probably wont work just copying the font, as you need to be a local admin for it to register.
You can register the font manually for the user via script but you will need access to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]

(in reply to ncts_dodge_man)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Help with copy netlogon fonts folder Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts