simon sez
(Lurker)
2003-03-06 08:21 PM
share map

Hi guys,

Is it possible to make a current map a shared map
in a loginscript ?

I hope it's not a to stupid quastion.

see ya

THX anyway


Radimus
(KiX Supporter)
2003-03-06 09:35 PM
Re: share map

I don't understand what you mean.

Try explaining again in english, but add the explaination in your native language also (or perhaps in German if that is possible... We have quite a few German 'Sprecher des Deutsch')


MCA
(KiX Supporter)
2003-03-06 09:47 PM
Re: share map

Dear,

Welcome to the board.

You may tell it also in Dutch. Please explain it also with an example.
greetings.


simon sez
(Lurker)
2003-03-07 01:11 PM
Re: share map

Oke,

THX voor de reactie
Ik wil gewoon in een loginscript een bestaande map "delen".Zodat hij voor gebruikers die aanloggen toegankelijk is.
In DOS heb je NET SHARE, in KIX ???????

Voorbeeld
Bij het aanloggen moet de bestaande Map "C:\Boekverslagen" gedeeld worden

THX op voorhand

simon sez


JochenAdministrator
(KiX Supporter)
2003-03-07 01:23 PM
Re: share map

Allthough I have some difficulties with the language I'll try to help :

quote:
Use

Action: Enables you to list the current connections. Also enables you to connect a device, such as a drive or a printer, to a network resource; or to disconnect a device from a network resource.

Syntax: USE LIST
USE < "*" | "device" | "resource"> /DELETE [/PERSISTENT]
USE ["device"] <"resource"> [/USER:user] [/PASSWORD:password] [/PERSISTENT]

Remarks: Use USE "*" /DELETE to delete all current connections except those to a NETLOGON share and those to the drive or share from which KiXtart was started.
If a resource name contains non-alphanumeric characters (such as - or +), you must enclose the name in quotation marks.

On Windows NT only, you can use the /USER and /PASSWORD parameters, which allows you to override the security context of the current user.

Check the value of @ERROR to see if USE was successful (a value of 0 indicates success).


Examples: USE E: "\\SERVER\PUBLIC" /PERSISTENT
USE "*" /DELETE
USE E: "\\SERVER\PUBLIC" /user:Yogi /password:Bear
USE E: "\\SERVER\PUBLIC"
USE LPT1: "\\SERVER\LASER" /user:testlan\USER1
USE L: /DEL
USE LIST
USE H: @HOMESHR ; connect to user's home share
IF @ERROR = 0
H:
CD @HOMEDIR ; change directory to user's home directory
ENDIF



--------------------------------------------------------------------------------

UDFs: MapFirst() YAMD() _ Yet another Map Drive UDF fnRemapDrives()


MCA
(KiX Supporter)
2003-03-07 02:39 PM
Re: share map

Dear,

Translation:

quote:

Thanks for your reaction.
I will usual "share" an existing map by a loginscript. So this map is available for users
who are logging in.
In DOS you have the NET SHARE command, what is it in KIX????

Example: by logging on the existing map "c:\boekverslagen" must be shared by others.

Thanks.

Some additional questions
- is the map "c:\boekverslagen" located on server or client?
- did you set the proper share permission on that folder "c:\boekverslagen"?

A possible call can be when you have define as sharename f.e. "boek" and your client has the name "PC2003"

(as kix)

USE X: /delete /persistent:yes
USE X: "\\PC2003\boek$$"

(as dos command)

NET USE X: /d
NET USE X: "\\PC2003\boek$"

Jpols was pointing in the right direction.
Our supply to tell your problem in Dutch was to get clear "what you question" really was.
Normally everybody is using the English language.
greetings.

[ 07. March 2003, 14:51: Message edited by: MCA ]


simon sez
(Lurker)
2003-03-07 02:45 PM
Re: share map

oke thx

it works

see ya

Simon Sez


Radimus
(KiX Supporter)
2003-03-07 02:47 PM
Re: share map

I thought the question was 'Can I SHARE a mapped drive?'

If that is the case, Kix doesn't have a command to share a folder, but you can SHELL any command that you could issue in DOS.


Sealeopard
(KiX Master)
2003-03-07 02:49 PM
Re: share map

Simon: Please read the KiXtart Manual as functions like USE are well documented in the manual.

Les
(KiX Master)
2003-03-07 02:51 PM
Re: share map

MCA,
Why did you not rename this topic?
You have renamed far more descriptive topics than this one which obviously does not match the objective.


MCA
(KiX Supporter)
2003-03-07 02:56 PM
Re: share map

Dear,

Any folder on any server or client can be shared, when the proper share for
that folder is set.

Who doesn't recognize the c$ share on clients?

Without setting share properties you can't share those folder by others.
greetings.

BTW: extending a subject is only useful, when the question is very clear.
F.e. a subject like "I need help" requires a modification.

BTW: Radimus, that was also our first though. That was the reason we
offer him to tell his problem in his own language.

[ 07. March 2003, 15:00: Message edited by: MCA ]


MCA
(KiX Supporter)
2003-03-07 02:58 PM
Re: share map

Dear Simon,

Good to hear you get your answer.
Already waiting for another one.
greetings.