Announcement

Collapse
No announcement yet.

Script writting in Windows?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Script writting in Windows?

    Anyone good at this?

    Here is what I need the script to do.

    One the computer boots up I need it in the run command to map to a server example

    \\DFWstangs

    After that goes in the run command a window will be prompt for user name and password and I want it to auto fill that in.

    Any help on this one?

  • #2
    have you tried a login script?

    Comment


    • #3
      The command you need to use is: NET USE

      Go to a command line and type in NET USE /? and you can see the syntax for the NET USE command.

      It would be something like:

      NET USE [driveletter:] \\ComputerName\ShareName[\volume] [password | *] [/USER:[domainname\]username] [/PERSISTENT:No]
      .

      Comment


      • #4
        yup
        open up notepad, save it as a .bat file

        here is the script for my laptop

        @echo off
        net use * /delete /yes
        net use M: \\192.168.1.7\storage /persistent:yes

        Comment


        • #5
          Cool will give it a try thanks fellas.

          Comment

          Working...
          X