Results 1 to 5 of 5

Thread: Network/Drive Mappings Help Needed

  
  1. #1
    Status
    Offline
    Jonesy's Avatar
    AOC Obsessed
    Join Date
    Feb 2005
    Posts
    4,602
    Mentioned in
    0 Post(s)
    Quoted
    0 Post(s)

    Network/Drive Mappings Help Needed

    Just playing with something at work and cannot remember how to do it, even if its possible. Thing is, its on a RM network which makes everything a bit more complicated

    Anyway, ive made a package at work which creates a folder called MyFolder in C:\Program Files.

    Now what i want to do is make a drive mapping to that, so for instance in My Computer, the user would see G:\ and would click on it and be taken to C:\Program Files\MyFolder.

    I've got to do this on about 70 laptops i think, so need to do it in bulk. ive tried combinations such as using characters like % etc, but it moans that i can only use - etc.

    The management console asks for a server name, and then a folder, we cant supply a server name as it isnt a server were working with in this instance, its a computer.

    We need something like \\ComputerName\MyFolder but where ComputerName is gathered from the computer so it changes for each laptop.

    This may sound like a pointless task, but its a lot easier doing this than explaining to teachers how to save properly

    Any ideas?
    Regal Phase 3.5,VXR Turbo,VXR AFM,VXR Injectors,Courtenay FMIC,Dbilias Flowmaster,Regal Precat,Miltek exhaust,Lightened Flywheel,Uprated Clutch,Denso Plugs,Veccy Pipe,Eibachs,308mm Discs

  2. #2
    Status
    Offline
    Simon-DTi's Avatar
    AOC Obsessed
    Join Date
    Jul 2003
    Posts
    3,463
    Mentioned in
    0 Post(s)
    Quoted
    0 Post(s)
    This should sort you out chap:

    [CODE]
    @echo off
    rem Example batch file to create a share then mount it localy
    rem remove what's there first(if it's there):

    net use g: /delete
    net share myfolder /delete

    rem Share the folder:
    net share myfolder="C:\Program Files\MyFolder"
    rem map the drive:
    net use g: \\%ComputerName%\test
    [/CODE]

  3. #3
    Status
    Offline
    Jonesy's Avatar
    AOC Obsessed
    Join Date
    Feb 2005
    Posts
    4,602
    Mentioned in
    0 Post(s)
    Quoted
    0 Post(s)
    ahh, nice one, i'll give it a go tommorow, cheers
    Regal Phase 3.5,VXR Turbo,VXR AFM,VXR Injectors,Courtenay FMIC,Dbilias Flowmaster,Regal Precat,Miltek exhaust,Lightened Flywheel,Uprated Clutch,Denso Plugs,Veccy Pipe,Eibachs,308mm Discs

  4. #4
    Status
    Offline
    Simon-DTi's Avatar
    AOC Obsessed
    Join Date
    Jul 2003
    Posts
    3,463
    Mentioned in
    0 Post(s)
    Quoted
    0 Post(s)
    Hope it works for you chap
    2 Door E350 CDI - OM642 power baby
    emJlZnIgdmYgZmJiYmIgeW5mZyBscm5l

  5. #5
    Status
    Offline
    Craig's Avatar
    AOC Gold Member
    Join Date
    Jun 2003
    Posts
    17,804
    Mentioned in
    1 Post(s)
    Quoted
    0 Post(s)
    Si your too intelegent for your own good mate
    Ibiza FR CR TDI with 203 BHP

Similar Threads

  1. Help with removing drive shafts from hubs needed
    By Portland Bill in forum NA Engines (Non-turbo petrol) inc. Transmissions
    Replies: 4
    Last Post: 12-04-2005, 23:01

Posting Permissions

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