From Diminutive Bison, 6 Years ago, written in Plain Text.
Embed
  1. Custom.bat
  2.  
  3. @ECHO OFF
  4.  
  5. REM -------------- Site Specific Customisations ----------------
  6. net use S: "\\10.87.70.50\data$\Staff & Student Share\Staff Share" /USER:wvilleps.local\teacher t34Cher
  7. net use T: "\\10.87.70.50\data$\Staff & Student Share\Staff Share\scanned docs" /USER:wvilleps.local\teacher t34Cher
  8.  
  9. call y:\rename.vbs
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. rename.vbs
  22.  
  23. On Error Resume Next
  24.  
  25. set APSHELL  =createobject("shell.application")
  26.  
  27.  
  28.  
  29. APSHELL.namespace("F:").self.name="Edsas"
  30. APSHELL.namespace("J:").self.name="User Data"
  31. APSHELL.namespace("K:").self.name="Clerical"
  32. APSHELL.namespace("S:").self.name="Staff Share"
  33. APSHELL.namespace("Y:").self.name="Scripts"
  34. APSHELL.namespace("Z:").self.name="CDROM"
  35. APSHELL.namespace("T:").self.name="shared Docs"
  36.