/build/static/layout/Breadcrumb_cap_w.png

Delent mcr.fon and mcr.ttf file s

Hi
I need to delete following fonts mcr.fon and mcr.ttf from windows/Fonts folder .can any help me with the Vb script.My script is n't working.Pls its very urgent..
Thanks in advance
Harsa

0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 11 years ago
Red Belt
0
Font files are no different to any other files so deleting them should be straightforward. What error are you getting returned from your script (which you don't show us, BTW...)

If you're removing fonts from a system, don't forget that you should really also delete the "registration" information from the registry.
Posted by: harshakola 11 years ago
Orange Belt
0
hi
I'm just writing a simple vb script
set objFSO=createobject("Scripting.Filesystemobject")
DeleteFile "c:\windows\fonts\mcr.fon"
Posted by: harshakola 11 years ago
Orange Belt
0
but the above script what i ve mentioned is n't deleting file.so can u help me with the script...
Thanks
Posted by: anonymous_9363 11 years ago
Red Belt
0
Use Google to find examples of file-deletion script. There will be thousands. You should also bookmark the VBScript section on DevGuru.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ