[RESOLVED] Mapping Network Drives With a Hyperlink
Results 1 to 10 of 10

Thread: [RESOLVED] Mapping Network Drives With a Hyperlink

  1. #1
    procrastination
    Guest

    Post Mapping Network Drives With a Hyperlink

    I know this is a bit off topic, but perhaps someone could help me.

    I want to have a hyperlink on my intranet page that will map a network drive for that logon only. IE when they log off, and log back on, I want them to HAVE to go back to the intranet page and re-click the hyperlink.

    If anyone knows how or if this can be done, please help.

    Thanks


    PRO

    ------------------
    Tell me; Future-Boy, who’s president of the United States in 1985?

  2. #2
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161

    Thumbs up

    It can be done in many ways
    The best is Using a UNC path to the file
    Exaple (Inside Brackets) - a href="\\computername\Sharename\Folder\file"

    Or if you are runing Peer Server (or better IIS) you can do it to the folder (Web sharing...)

    Exaple (Inside Brackets) - a href="http://yourcomutername/folder/filename.ext"

    Be carefull of using Space in the filename
    I advice to Avoid Non 8.3 Filenames as general (from to many reasons...)

    Good luck!
    Gabriel

    ------------------
    *************************
    It Works Better if you Plug it in, It Works far better if you Turn it ON!
    Real stupidity beats Artifical Intelligence
    Avatar courtesy of A D E P T

  3. #3
    procrastination
    Guest

    Post

    When I try that, it does not actually MAP a Network Drive... It just opens the share as if it were a normal shortcut. Is there code to force the folder to map?

    The solution that I must find, will be LEAST amount of thinking time for users. Once they use the link, they need to be able to continously access the drive, at a specific drive letter.

    thanks

    PRO

    ------------------
    Tell me; Future-Boy, who’s president of the United States in 1985?

  4. #4
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161

    Post

    Haa,
    I got you all wrong...
    There is a way but it is Mostly complicated.
    You can link the Href to a batch file.
    The batch file will include:
    Net Use X: \\Computername\Sharename /PERSISTENT:YES

    This is the Easisets form of doing so, Otherwise you would have to mess up Either with CGI/ASP/ActiveX/Java and all the Other Fu!@g Sh%$%T (and believe me you don't want to that)

    By the way why don't you use a Login Script?


    ------------------
    *************************
    It Works Better if you Plug it in, It Works far better if you Turn it ON!
    Real stupidity beats Artifical Intelligence
    Avatar courtesy of A D E P T

  5. #5
    jrwilson
    Guest

    Post

    its just like running a logon script at startup...should be fast and easy...jsut ref the logon.bat

    ------------------
    "Don't hate the media....BECOME the media!!" Jello Biafra - Dead Kennedys

  6. #6
    procrastination
    Guest

    Post

    I have a logon script currently. It maps the 11 network drives that my users access. However, I feel that the users do not access these drives on a regular enough basis to map them at logon. I am dealing with MINIMAL bandwidth, and I need to cut corners wherever I can. The reason I cannot just create a hyperlink to the share is because they may need a prog to access the resources on the share as a drive. But I would also like the persistancy to be 'no' Mostly because, as I said before, the share is not accessed on a daily basis. They are not even accessed on a weekly basis. If I were to just cut the logon script though, I would have a berage of tech calls saying: "I lost my O DRIVE!" This way I can send out a MASS e-mail saying that if the drive is needed, they can go to the Intranet page and access it from there.

    Its looking more and more complicated every day.

    BTW Gabriel, I sent you an e-mail to your address supplied. Thanks again for all of your help.

    Later

    PRO

    ------------------
    Tell me; Future-Boy, who’s president of the United States in 1985?

  7. #7
    jrwilson
    Guest

    Post

    so, maybe take a few more minutes and write one script for each drive. you could also launch your aplications from the same script and remove the icons from their system...make the intranet page the central point of access for all end-user network access. we do something similar and it is very effective. works even better when you are running application servers and cd-rom servers...lets you keep the workstation os nice and clean. you are working with limited bandwidth, so that doesn't realy apply, but you get the idea. what about using the quick logon option....it doesnt acctually do the mapping until the drive is in use...so the icon stays but the connection isnt active? i've never used it myself, but i think thats how it works....anyway...good luck



    ------------------
    "Don't hate the media....BECOME the media!!" Jello Biafra - Dead Kennedys

  8. #8
    Registered User Gabriel's Avatar
    Join Date
    Aug 2000
    Location
    Tel Aviv Israel
    Posts
    2,161

    Thumbs up

    Words of Wisdom

    ------------------
    *************************
    It Works Better if you Plug it in, It Works far better if you Turn it ON!
    Real stupidity beats Artifical Intelligence
    Avatar courtesy of A D E P T

  9. #9
    Macgyver_111
    Guest

    Post

    Or with IPC$ Sharing \\ipaddress\sharename\file from any comp on the entire web "careful hackers do scan for open port 139 nbsession shares, use read only, and have one full access dir to put files into."

  10. #10
    Registered User
    Join Date
    Jul 2000
    Location
    Huntington Beach, CA, USA
    Posts
    1,515

    Post

    Let make this real simple - under windows 9x select quick logon - this will still give them the mapping, but not actually attempt to activate it until it is used - therefore eliminating the bandwidth problem.

    ------------------
    Death is lighter than a feather - duty heavier than a mountian.
    Death is lighter than a feather - duty heavier than a mountian.

    The answer to your question is: 00110100 00110010

Bookmarks

Posting Permissions

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