Page 1 of 1 1
Topic Options
#37492 - 2003-03-06 08:21 PM share map
simon sez Offline
Lurker

Registered: 2003-02-26
Posts: 4
Loc: Belguim
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

Top
#37493 - 2003-03-06 09:35 PM Re: share map
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
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')
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#37494 - 2003-03-06 09:47 PM Re: share map
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

Welcome to the board.

You may tell it also in Dutch. Please explain it also with an example.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#37495 - 2003-03-07 01:11 PM Re: share map
simon sez Offline
Lurker

Registered: 2003-02-26
Posts: 4
Loc: Belguim
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

Top
#37496 - 2003-03-07 01:23 PM Re: share map
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
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()
_________________________



Top
#37497 - 2003-03-07 02:39 PM Re: share map
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
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 ]
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#37498 - 2003-03-07 02:45 PM Re: share map
simon sez Offline
Lurker

Registered: 2003-02-26
Posts: 4
Loc: Belguim
oke thx

it works

see ya

Simon Sez

Top
#37499 - 2003-03-07 02:47 PM Re: share map
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
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.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#37500 - 2003-03-07 02:49 PM Re: share map
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Simon: Please read the KiXtart Manual as functions like USE are well documented in the manual.
_________________________
There are two types of vessels, submarines and targets.

Top
#37501 - 2003-03-07 02:51 PM Re: share map
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
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.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#37502 - 2003-03-07 02:56 PM Re: share map
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
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 ]
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#37503 - 2003-03-07 02:58 PM Re: share map
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear Simon,

Good to hear you get your answer.
Already waiting for another one.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 515 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.061 seconds in which 0.026 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org