Jump to content

Mapping search drives


Recommended Posts

Guest Paul0426
Posted

I'm used to novell where search drives can be mapped based on the user logon

script.

 

How do I map search drives in 2003 server?

 

--

Paul

  • Replies 8
  • Created
  • Last Reply
Guest Danny Sanders
Posted

Re: Mapping search drives

 

Not totally sure what you mean by search drives but you use login scripts to

map drives in Windows.

 

hth

DDS

 

"Paul0426" <Paul0426@discussions.microsoft.com> wrote in message

news:611BE2C5-8A04-446F-BFD9-0B214E2B16BC@microsoft.com...

> I'm used to novell where search drives can be mapped based on the user

> logon

> script.

>

> How do I map search drives in 2003 server?

>

> --

> Paul

Guest Pegasus \(MVP\)
Posted

Re: Mapping search drives

 

 

"Paul0426" <Paul0426@discussions.microsoft.com> wrote in message

news:611BE2C5-8A04-446F-BFD9-0B214E2B16BC@microsoft.com...

> I'm used to novell where search drives can be mapped based on the user

> logon

> script.

>

> How do I map search drives in 2003 server?

>

> --

> Paul

 

In a Windows environment, users usually have a home drive.

You can exploit this feature by creating the file "shares.bat"

in a hidden subfolder of this drive and placing lines like the

ones below into it:

@echo off

net use S: \\Server\Sales

net use T: \\Server\Accounting

 

Each of these files can be tailored to suit the respective user.

You invoke it by inserting this line into your logon script:

 

if exist P:\HiddenFolder\Shares.bat call P:\HiddenFolder\Shares.bat

 

provided that drive P: is mapped to the user's home drive.

Guest Paul0426
Posted

Re: Mapping search drives

 

A search drive is basiclly the same as the old dos path command. The

location(s) where the system is to look for a file if not in the working

directory.

--

Paul

 

 

"Danny Sanders" wrote:

> Not totally sure what you mean by search drives but you use login scripts to

> map drives in Windows.

>

> hth

> DDS

>

> "Paul0426" <Paul0426@discussions.microsoft.com> wrote in message

> news:611BE2C5-8A04-446F-BFD9-0B214E2B16BC@microsoft.com...

> > I'm used to novell where search drives can be mapped based on the user

> > logon

> > script.

> >

> > How do I map search drives in 2003 server?

> >

> > --

> > Paul

>

>

>

Guest Paul0426
Posted

Re: Mapping search drives

 

Ok, but I am failing to see what makes them a "search". The example you gave

looks to be to be like any other mapping. Am I missing something?

 

--

Paul

 

 

"Pegasus (MVP)" wrote:

>

> "Paul0426" <Paul0426@discussions.microsoft.com> wrote in message

> news:611BE2C5-8A04-446F-BFD9-0B214E2B16BC@microsoft.com...

> > I'm used to novell where search drives can be mapped based on the user

> > logon

> > script.

> >

> > How do I map search drives in 2003 server?

> >

> > --

> > Paul

>

> In a Windows environment, users usually have a home drive.

> You can exploit this feature by creating the file "shares.bat"

> in a hidden subfolder of this drive and placing lines like the

> ones below into it:

> @echo off

> net use S: \\Server\Sales

> net use T: \\Server\Accounting

>

> Each of these files can be tailored to suit the respective user.

> You invoke it by inserting this line into your logon script:

>

> if exist P:\HiddenFolder\Shares.bat call P:\HiddenFolder\Shares.bat

>

> provided that drive P: is mapped to the user's home drive.

>

>

>

Guest Pegasus \(MVP\)
Posted

Re: Mapping search drives

 

 

"Paul0426" <Paul0426@discussions.microsoft.com> wrote in message

news:19A5318C-2831-410F-87B1-73264884A5F3@microsoft.com...

> Ok, but I am failing to see what makes them a "search". The example you

> gave

> looks to be to be like any other mapping. Am I missing something?

>

> --

> Paul

 

This is because I failed to understand the term "Search Drive".

Best to use Windows terminology when asking Windows-related

questions.

 

Does this mean that you wish to specify a %path% that is composed

of two elements:

a) The standard Windows directories

b) A number of user-specific directories

 

Note that the %path% variable is used for executables only.

It is not used when looking for data files.

Guest Paul0426
Posted

Re: Mapping search drives

 

Sorry about that, my background is Novell.

 

Will the %path% work for dll's?

--

Paul

 

 

"Pegasus (MVP)" wrote:

>

> "Paul0426" <Paul0426@discussions.microsoft.com> wrote in message

> news:19A5318C-2831-410F-87B1-73264884A5F3@microsoft.com...

> > Ok, but I am failing to see what makes them a "search". The example you

> > gave

> > looks to be to be like any other mapping. Am I missing something?

> >

> > --

> > Paul

>

> This is because I failed to understand the term "Search Drive".

> Best to use Windows terminology when asking Windows-related

> questions.

>

> Does this mean that you wish to specify a %path% that is composed

> of two elements:

> a) The standard Windows directories

> b) A number of user-specific directories

>

> Note that the %path% variable is used for executables only.

> It is not used when looking for data files.

>

>

>

Guest Paul0426
Posted

Re: Mapping search drives

 

I am looking to modify the environment path either based on user, or user

group at logon. But I need to find both exe's and dll's.

 

 

--

Paul

 

 

"Pegasus (MVP)" wrote:

>

> "Paul0426" <Paul0426@discussions.microsoft.com> wrote in message

> news:19A5318C-2831-410F-87B1-73264884A5F3@microsoft.com...

> > Ok, but I am failing to see what makes them a "search". The example you

> > gave

> > looks to be to be like any other mapping. Am I missing something?

> >

> > --

> > Paul

>

> This is because I failed to understand the term "Search Drive".

> Best to use Windows terminology when asking Windows-related

> questions.

>

> Does this mean that you wish to specify a %path% that is composed

> of two elements:

> a) The standard Windows directories

> b) A number of user-specific directories

>

> Note that the %path% variable is used for executables only.

> It is not used when looking for data files.

>

>

>

Guest Pegasus \(MVP\)
Posted

Re: Mapping search drives

 

Since Dynamic Link Libraries are never called directly, their

location does not need to be listed in the path. AFAIK, DLLs

either reside in the System32 folder or in the folder where the

application resides that invokes them.

 

To set the %path% for a specific user, use setx.exe. You can

download it from the Windows Resource Kit.

 

 

"Paul0426" <Paul0426@discussions.microsoft.com> wrote in message

news:6BC6B3C4-1671-4F78-A366-F40432301747@microsoft.com...

>I am looking to modify the environment path either based on user, or user

> group at logon. But I need to find both exe's and dll's.

>

>

> --

> Paul

>

>

> "Pegasus (MVP)" wrote:

>

>>

>> "Paul0426" <Paul0426@discussions.microsoft.com> wrote in message

>> news:19A5318C-2831-410F-87B1-73264884A5F3@microsoft.com...

>> > Ok, but I am failing to see what makes them a "search". The example

>> > you

>> > gave

>> > looks to be to be like any other mapping. Am I missing something?

>> >

>> > --

>> > Paul

>>

>> This is because I failed to understand the term "Search Drive".

>> Best to use Windows terminology when asking Windows-related

>> questions.

>>

>> Does this mean that you wish to specify a %path% that is composed

>> of two elements:

>> a) The standard Windows directories

>> b) A number of user-specific directories

>>

>> Note that the %path% variable is used for executables only.

>> It is not used when looking for data files.

>>

>>

>>


×
×
  • Create New...