Map network drive for user via ASP.NET

B

Brian Nicholson

Hello,

I'm trying to create an admin page that can run miscellaneous scripts for
our IT department. Currently, I'm trying to create a script that can map a
network drive for a user (e.g. a form where I can input \\path\folder, drive
letter, and domain\user). Is this possible? If so, can someone point me in
the right direction?

Thank you,
Brian Nicholson
 
B

Bob Barrows [MVP]

Brian said:
Hello,

I'm trying to create an admin page that can run miscellaneous scripts
for our IT department. Currently, I'm trying to create a script that
can map a network drive for a user (e.g. a form where I can input
\\path\folder, drive letter, and domain\user). Is this possible? If
so, can someone point me in the right direction?
I doubt this will be possible without using a .hta page with javascript. You
will probably have better success doing this via the network login scripts.
Post to .scripting.vbscript for help with that. This is not really an
ASP/ASP.Net issue.

Having said that:
There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic (COM-based) asp newsgroup.
ASP.Net bears very little resemblance to classic ASP so, while you may be
lucky enough to find a dotnet-knowledgeable person here who can answer your
question, you can eliminate the luck factor by posting your question to a
group where those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.aspnet or the forums at www.asp.net.
 
B

Brian Nicholson

Bob Barrows said:
I doubt this will be possible without using a .hta page with javascript. You
will probably have better success doing this via the network login scripts.
Post to .scripting.vbscript for help with that. This is not really an
ASP/ASP.Net issue.

Having said that:
There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic (COM-based) asp newsgroup.
ASP.Net bears very little resemblance to classic ASP so, while you may be
lucky enough to find a dotnet-knowledgeable person here who can answer your
question, you can eliminate the luck factor by posting your question to a
group where those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.aspnet or the forums at www.asp.net.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Thanks for the advice -- I've reposted my question in the more relevant
newsgroup.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top