Page 1 of 1 1
Topic Options
#156995 - 2006-02-09 09:13 PM authentification on a share
david_ti Offline
Fresh Scripter

Registered: 2006-02-09
Posts: 11
Loc: Montréal, Québec, Canada
Hi all,

I need to connect a group to a share. But after many time to try, the script doesn't work. They are the script :
Code:

IF INGROUP("news")
use \\test-nas1 /user:xxclient /password:xxclient
ENDIF



I want to know if is ok, cause if i try my batch file, it's work:
Code:

net use \\test-nas1 /user:xxclient xxclient



Thx to help me

Top
#156996 - 2006-02-09 09:19 PM Re: authentification on a share
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Because of the hyphen, KiX tries to do math. YOu need to use quotes.
use '\\test-nas1'
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#156997 - 2006-02-09 09:22 PM Re: authentification on a share
david_ti Offline
Fresh Scripter

Registered: 2006-02-09
Posts: 11
Loc: Montréal, Québec, Canada
ok, only for the share. Thx for your fastest answer.
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 1376 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.054 seconds in which 0.027 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