Page 1 of 1 1
Topic Options
#188567 - 2008-07-04 03:10 PM Network HD (samba) with USE
Babybel54 Offline
Just in Town

Registered: 2008-07-04
Posts: 1
Hello i'm french, and i want to mount a network hd (samba) with the function "USE".

 Code:
USE P: "\\192.168.1.1\Progs" /user:$loginfich /password:$mdpfich
USE P: "\\192.168.1.1\Progs" /user: + $loginfich + /password: + $mdp


But this don't how i can do this ?

Thanks everybody to your help !

Top
#188592 - 2008-07-07 08:03 PM Re: Network HD (samba) with USE [Re: Babybel54]
BradV Offline
Seasoned Scripter
****

Registered: 2006-08-16
Posts: 686
Loc: Maryland, USA
Hi,

I would first go to a command prompt and make sure you can map the drive using the "net use" command. If you can do that successfully, then try:

 Code:
use P: /delete
use P: "\\192.168.1.1.\Progs" /user:$loginfich /password:$mdpfich
If @ERROR = 0
  ? "It is connected!"
else
  ? "There was an error, " + @SERROR
endif


See if that works.

Regards,

Brad V

Top
#188593 - 2008-07-07 08:46 PM Re: Network HD (samba) with USE [Re: BradV]
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
This is covered pretty well in the KiXtart (kix2010.doc) that comes with the KiXtart download.

Also, there are a number of Map Scripts (drive map) in the UDF Forum here..

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
Page 1 of 1 1


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

Who's Online
0 registered and 1574 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.145 seconds in which 0.118 seconds were spent on a total of 13 queries. Zlib compression enabled.

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