Dim $REGkey,$Update$REGkey='HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced'$Update=WriteValue($REGkey,'HideFileExt','00000000',REG_DWORD)If @ERROR 'Error updating registry: ' + @ERROR + ' ' + @SERROR ? EndIf If InGroup(@Domain+'\'+'urfcu-tech') USE T: /DELETE /PERSISTENT USE T: '\\fileserv\dept\tech$' /PERSISTENT If @ERROR 'Error mapping T drive: ' + @ERROR + ' ' + @SERROR ? EndIf ;if you're going to map each logon then no need for the /PERSISTENT switch If AddPrinterConnection ('\\unity\brotherh') = 0 'Added printer connection....' ? Else 'Error adding printer UNITY\Brotherh ' + @ERROR + ' ' + @SERROR ? EndIf If SetDefaultPrinter('\\unity\brotherh') = 0 'Set default printer to \\unity\brotherh' ? Else 'Error setting default printer to UNITY\Brotherh: ' + @ERROR + ' ' + @SERROR ? EndifEndIf If InGroup(@Domain+'\'+'urfcu-cs') USE S: /DELETE /PERSISTENT USE S: '\\fileserv\cardsource' /PERSISTENT If @ERROR 'Error mapping S drive: ' + @ERROR + ' ' + @SERROR ? EndIfEndIf If InGroup(@Domain+'\'+'Domain Users') USE P: /DELETE /PERSISTENT USE P: '\\fileserv\apps\apps' /PERSISTENT If @ERROR 'Error mapping P drive: ' + @ERROR + ' ' + @SERROR ? EndIfEndIf
Generated in 0.067 seconds in which 0.024 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 + "