Page 1 of 1 1
Topic Options
#121461 - 2004-06-17 05:52 PM USE command question...
Rocco Capra Offline
Hey THIS is FUN
*****

Registered: 2002-04-01
Posts: 380
Loc: Mansfield Ohio
did a search and could not find a good answer...

From the manual:
Quote:


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




My question is, What does the '/PERSISTENT' do for the "USE E: "\\SERVER\PUBLIC" /PERSISTENT" command? I have used the /PERSISTENT command in combonation with /DELETE to permanently remove a drive mapping (thinking that is what it means, anyway), but why use it when you are just mapping a drive?


TIA,
Rocco
_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro

Top
#121462 - 2004-06-17 07:42 PM Re: USE command question...
jpeachman Offline
Fresh Scripter

Registered: 2002-11-18
Posts: 39
/PERSISTENT is the same thing as checking the "Reconnect at Logon" box in the standard Windows drive-mapping dialog (it creates a Persistent connection entry in the registry for the mapping). If it's something you'll do each time in a login script, it's unnecessary.

Joe

Top
#121463 - 2004-06-17 08:56 PM Re: USE command question...
Rocco Capra Offline
Hey THIS is FUN
*****

Registered: 2002-04-01
Posts: 380
Loc: Mansfield Ohio
Thanks!
_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro

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 962 anonymous users online.
Newest Members
StuTheCoder, M_Moore, BeeEm, min_seow, Audio
17884 Registered Users

Generated in 0.153 seconds in which 0.118 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