+ Post New Thread
Results 1 to 3 of 3
Windows Thread, Net Use command prompt vs Net Use bat file in Technical; Hello, Bit of an odd one that I hoped the brains on here might be able to help with. I've ...
  1. #1

    Join Date
    Jun 2009
    Posts
    10
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Net Use command prompt vs Net Use bat file

    Hello,

    Bit of an odd one that I hoped the brains on here might be able to help with.

    I've got a program that maps drives, depending the the username entered, home drives, shared areas depending on staff or pupil etc.

    It works, apart from the Home drive part. If the bat file tries to map the home drive I get System Error 55. If I manually type in the same command into a cmd window it works fine.

    I've used a bunch of net use d: /delete and all that before It starts.

    Anyone shed some light on where I might have gone wrong?

    Thanks

    Stu

  2. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,581
    Thank Post
    228
    Thanked 854 Times in 733 Posts
    Rep Power
    295
    if you use ad the home drive should already be set without needing it in a script iirc

  3. #3

    Join Date
    Jun 2009
    Posts
    10
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by sted View Post
    if you use ad the home drive should already be set without needing it in a script iirc
    Yes, to clarify this a bit, we have a bunch of standalone laptops that connect to the wireless. My program pop's up and they enter student or teacher username and password, and it then maps the drives depending on what user was entered. The school wanted to use the laptops without the student / teacher profile being loaded up, and wanted to get into the home drives. This seemed a fairly good solution.

SHARE:
+ Post New Thread

Similar Threads

  1. Uploading to sharepoint document library via command prompt?
    By BatchFile in forum Virtual Learning Platforms
    Replies: 1
    Last Post: 27th January 2009, 11:13 AM
  2. Client's Are using .bat files.
    By Lesley_tech in forum General Chat
    Replies: 2
    Last Post: 13th June 2008, 04:09 PM
  3. Stopping SQL using a Bat file
    By ful56_uk in forum Windows
    Replies: 4
    Last Post: 7th April 2008, 12:09 AM
  4. Replies: 9
    Last Post: 17th January 2008, 12:45 PM
  5. Prevent Student Access To Command Prompt
    By DaveP in forum How do you do....it?
    Replies: 13
    Last Post: 21st March 2007, 11:37 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •