jonwilbanks
IS-IT--Management
Is there a way to run programs and/or commands in a logon script as administrator?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
' ------------------------------------------------
' ----- Master Directories for the Two Icons -----
' ------------------------------------------------
destDir = "c:\documents and settings\all users\desktop"
srcDir = "g:\public\icons"
' -----------------------------------------------------
' ----- Source and Destination Icon Path Creation -----
' -----------------------------------------------------
dest_iso_icon = destDir & "\ISO Procedures and Work Inst.lnk"
dest_feedback = destDir & "\FEEDBACK.url"
dest_feedicon = "c:\nextish.ico"
src_iso_icon = srcDir & "\ISO Procedures and Work Inst.lnk"
src_feedback = srcDir & "\FEEDBACK.url"
src_feedicon = srcDir & "\nextish.ico"
' -------------------------------------------------
' ----- Creates the Master File System Object -----
' -------------------------------------------------
set fs = createobject("scripting.filesystemobject")
' ------------------------------------------------
' ----- Checks for the New ISO Shortcut, and -----
' ----- creates the icon if necessary -----
' ------------------------------------------------
if fs.fileexists(dest_iso_icon) = false then
set fIso_Icon = fs.getfile(src_iso_icon)
fIso_Icon.copy(dest_iso_icon)
end if
' ---------------------------------------------
' ----- Checks the for Feedback Icon, and -----
' ----- creates the icon if necessary -----
' ---------------------------------------------
if fs.fileexists(dest_feedback) = false then
set fFeedback = fs.getfile(src_feedback)
fFeedback.copy(dest_feedback)
end if
if fs.fileexists(dest_feedicon) = false then
set fFeedicon = fs.getfile(src_feedicon)
fFeedicon.copy(dest_feedicon)
end if