PDA

View Full Version : Question about creating a network share...



NewsArchive
02-13-2011, 04:21 AM
Hello all,

Now that my subscription is current, I can now create network shares with
SetupBuilder.

I know I can manually click on a directory and share that specific
directory.

How can I, using SB, share a specific directory? I see the Share Path field
in SB's Add/Remove Shared Resource dialog but I'm not sure how to use it.

Thanks,

Don

NewsArchive
02-14-2011, 02:03 AM
Don,

> Now that my subscription is current, I can now create network shares with
> SetupBuilder.
>
> I know I can manually click on a directory and share that specific
> directory.
>
> How can I, using SB, share a specific directory? I see the Share Path
> field in SB's Add/Remove Shared Resource dialog but I'm not sure how to
> use it.

Let us assume, you have a "C:\TestDon" folder and you would like to share
this folder.

Just use the "Add/Remove Sharded Resource..." script function with the
following information (see attached screenshots).

Hope this helps.

Friedrich

NewsArchive
02-14-2011, 02:03 AM
Yeah, I figured I could do that but the path to the directory I want to
share is different depending on the OS the application is installed on (XP
vs Win7).

My directory is in:

%_CSIDL_COMMON_DOCUMENTS%\Blue Line Technologies\PDManager\Log\Incoming

So I don't know if I use:

C:\Users\Public\Documents\Blue Line Technologies\PDManager\Log\Incoming

if it will install properly on all machines.

Don

NewsArchive
02-14-2011, 02:04 AM
Hi Don,

> Yeah, I figured I could do that but the path to the directory I want to
> share is different depending on the OS the application is installed on
> (XP vs Win7).
>
> My directory is in:
>
> %_CSIDL_COMMON_DOCUMENTS%\Blue Line Technologies\PDManager\Log\Incoming
>
> So I don't know if I use:
>
> C:\Users\Public\Documents\Blue Line Technologies\PDManager\Log\Incoming
>
> if it will install properly on all machines.

CSIDL_COMMON_DOCUMENTS is the "known folder ID" for
C:\Users\Public\Documents.

So you can use the built-in variable %_CSIDL_COMMON_DOCUMENTS% to point to
'C:\Users\Public\Documents' (or 'C:\Documents and Settings\All
Users\Documents' on XP machines).

Friedrich

NewsArchive
02-14-2011, 02:04 AM
Worked like a charm!!!!

Donald Ridley