If Not @LogonMode Break OnElse Break OffEndIfDim $SO$SO=SetOption('Explicit','On')$SO=SetOption('NoVarsInStrings','On')$SO=SetOption('NoMacrosInStrings','On')$SO=SetOption('WrapAtEOL','On') Dim $Nul ;NOTE: SETTIME (unless it's an application written by you) is an invalid ;command. For the old NT systems there was NET TIME ;but even that - the user needs to be a local admin or the command would fail ;On 2000/2003 Active Directory it is no longer used as they now use W32Time ;SETTIME is a function in C++ from what I can tell ;How to configure an authoritative time server in Windows Server 2003 ;http://support.microsoft.com/kb/816042 SETTIME '\\AL-WINSLOW' ; *********************** COMMON NETWORK DRIVE MAPPING FOR ALL USERS ************** ;Not really sure why you delete and re-map each logon but hey... to each his own ;Probably better to add the persistent switch as well USE Y: /delete /persistentUSE Y: '\\AL-WINSLOW\SHARE'USE S: /delete /persistentUSE S: '\\AL-WINSLOW\SHARE'USE P: /delete /persistentUSE P: '\\AL-WINSLOW\AUTOLENDERS'USE O: /delete /persistentUSE O: '\\AL-WINSLOW\HPSCAN' ; ************************END OF DRIVE MAPPING FOR ALL USERS*********************** ; ************************DRIVE MAPPING FOR BUSINESS GROUPS************************ ;Not required but recommend adding the specific Domain or if single Domain then ;just the @Domain macro If InGroup(@Domain+'\WISETRACK') use M: '\\VOORHEES-SERVER\PUBLIC' use U: '\\SERVER_SOUTH\SHARE' use K: '\\SERVER_NORTH\SHARE' use L: '\\LAKEWOOD-SERVER\SHARE'EndIf If InGroup (@Domain+'\HP4250-RECON') $Nul = AddPrinterConnection('\\AL-WINSLOW\HP-4250-RECON') ;SetDefaultPrinter ('\\AL-WINSLOW\HP-4250-RECON') EndIf If InGroup (@Domain+'\OKIC5200-RECON') $Nul = AddPrinterConnection('\\AL-WINSLOW\OKI-C5200N-RECON')EndIf If InGroup (@Domain+'\HP4345-ADMIN') $Nul = AddPrinterConnection('\\AL-WINSLOW\HP-4345MFP-2NDFLOOR')EndIf If InGroup(@Domain+'\OKIC5200-SERVICE1') $Nul = AddPrinterConnection('\\al-winslow\OKI-C5200N-SERVICE1')EndIf If InGroup(@Domain+'\OKIC5200-SERVICE2') $Nul = AddPrinterConnection('\\al-winslow\oki-c5200n-service2')EndIf If InGroup(@Domain+'\DELLW5300-INVENTORY') $Nul = AddPrinterConnection('\\AL-WINSLOW\DELL-W5300-INVENTORY') ;SetDefaultPrinter ('\\AL-WINSLOW\DELL-W5300-INVENTORY') EndIf If InGroup(@Domain+'\all_prn') $Nul = AddPrinterConnection('\\al-winslow\DELL-W5300-INVENTORY') $Nul = AddPrinterConnection('\\AL-WINSLOW\OKI-C5200N-SERVICE1') $Nul = AddPrinterConnection('\\AL-WINSLOW\OKI-C5200N-SERVICE2') $Nul = AddPrinterConnection('\\AL-WINSLOW\HP-4345MFP-2NDFLOOR') $Nul = AddPrinterConnection('\\AL-WINSLOW\OKI-C5200N-RECON') $Nul = AddPrinterConnection('\\AL-WINSLOW\HP-4250-RECON')EndIf ; ************************************************ END **************************** Exit 1
Generated in 0.176 seconds in which 0.106 seconds were spent on a total of 13 queries. Zlib compression enabled.
") !=-1) { tempah=tempah.substring(tempah.indexOf("")+5,tempah.indexOf("")); codes[i].innerHTML="" + dotag(tempah.substring()) + ""; } } //var pres = document.getElementsByTagName("pre"); //for (var i=0, maxi = pres.length; i < maxi; i++) { // var tempah = pres[i].innerHTML; // if (tempah.indexOf("[postprep") !=-1) { // tempah=tempah.substring((tempah.indexOf("]",tempah.indexOf("[postprep"))+1)); // pres[i].innerHTML=dotag(tempah); // } //} function ytag(which_one) { var codes = document.getElementsByClassName("ubbcode-body"); var thisone = codes[which_one].innerHTML; codes[which_one].innerHTML = "" + dotag(thisone.substring(5+thisone.indexOf(""),thisone.indexOf(""))) + ""; var heads = document.getElementsByClassName("ubbcode-header"); heads[which_one].innerHTML = "Code:" + ' '; } function ttag(which_one) { var codes = document.getElementsByClassName("ubbcode-body"); var thisone = ""; if (codes[which_one].innerText != undefined) { thisone += codes[which_one].innerText; } else { thisone += codes[which_one].textContent; } codes[which_one].innerHTML = thisone + ""; var heads = document.getElementsByClassName("ubbcode-header"); heads[which_one].innerHTML = "Code:" + ' '; }
")+5,tempah.indexOf("
" + dotag(tempah.substring()) + "
" + dotag(thisone.substring(5+thisone.indexOf(""),thisone.indexOf(""))) + "
"),thisone.indexOf("
"; if (codes[which_one].innerText != undefined) { thisone += codes[which_one].innerText; } else { thisone += codes[which_one].textContent; } codes[which_one].innerHTML = thisone + "