Go Back   Computer Forums > General Computing > Networking | DNS
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-17-2005, 11:50 AM   #1
Beta Member
 
Join Date: Feb 2005
Posts: 5
Default Scripting

I'm looking for examples of a script that will allow me to dynamically map the "My Documents" folder to a folder on the network.
__________________

Uncle_John is offline   Reply With Quote
Old 02-17-2005, 01:57 PM   #2
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,001
Default Re: Scripting

I don't think it can be done, th My Documents Folder is unnique to profiles...

You can map network drives in a batch file...

net use z: \\server\share
__________________

root is offline   Reply With Quote
Old 02-17-2005, 02:37 PM   #3
In Runtime
 
Join Date: Jan 2005
Posts: 137
Default Re: Scripting

well somewhat of that can be done... you just need to create a domain and make a policy in that domain for the user that will automatically share the users "my documents" folder on that network when they login.

However, I don't think it's possible to specify the folder "my documents or any other folder" to be shared under a different folder on the network. It will just share it on the network itself.

The reverse of this is way easier which is what "root" explain by just mapping a network drive to your local computer. You can setup batch file policies to do this. But doing it the other way around i'm not exactly sure if it will work the way u want.
daydreamer is offline   Reply With Quote
Old 02-20-2005, 06:41 AM   #4
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,001
Default Re: Scripting

I've found how to do it..
I'm so happy...

first map the drive, then edit the registry...
My documents folders are set per user in

hkey_local_machine\ software\microsoft\windows\explorer\Docsfolderpath
root is offline   Reply With Quote
Old 02-24-2005, 11:56 PM   #5
Baseband Member
 
Zderadicka's Avatar
 
Join Date: Feb 2005
Posts: 59
Send a message via AIM to Zderadicka Send a message via MSN to Zderadicka Send a message via Yahoo to Zderadicka
Default Adding on

How do you get a batch file to startup? Ok, say I want to incorporate this batch file with net use z: \\server\share. How do I get it to run when a specific domain user logs on?
Zderadicka is offline   Reply With Quote
Old 02-25-2005, 11:47 AM   #6
In Runtime
 
Join Date: Jan 2005
Posts: 137
Default Re: Scripting

you have to make it a policy on your domain
daydreamer is offline   Reply With Quote
Old 02-25-2005, 12:36 PM   #7
Baseband Member
 
Zderadicka's Avatar
 
Join Date: Feb 2005
Posts: 59
Send a message via AIM to Zderadicka Send a message via MSN to Zderadicka Send a message via Yahoo to Zderadicka
Default Re: Scripting

I C thanks again.
__________________

Zderadicka is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 11:14 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0