Page 1 of 1 1
Topic Options
#31263 - 2002-10-23 03:47 PM Simple Question
str1der Offline
Fresh Scripter

Registered: 2002-10-07
Posts: 33
Loc: Cincinnati
Is there any difference between the USE and the NET USE commands? Thanks.
Top
#31264 - 2002-10-23 04:03 PM Re: Simple Question
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Yes. USE is the native KiXtart scripting command whose equivalent is the Command Interpreter's NET USE command.

With regards to functionality, there is no difference between those two.

However, it is 'best practice' to use native kiXtart commands whereever possible. SHELLing out should only be a last resort if functionality cannot be achieved by native KiXtat Commands, UDFs, or WMI/ADSI/COM scripting.
_________________________
There are two types of vessels, submarines and targets.

Top
#31265 - 2002-10-23 04:04 PM Re: Simple Question
Waltz Offline
Seasoned Scripter

Registered: 2002-08-01
Posts: 485
Loc: Waterloo, Ontario, Canada
{Edit} Jens beat me to it... {/Edit}
Use is Kixie...
Net.exe is Operating System...
End result is same?

[ 23. October 2002, 16:05: Message edited by: Waltz ]
_________________________
We all live in a Yellow Subroutine...

Top
#31266 - 2002-10-23 04:07 PM Re: Simple Question
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Still running on Caffeine. Response time will decrease once Caffeine reservoir is depleted [Big Grin]
_________________________
There are two types of vessels, submarines and targets.

Top
#31267 - 2002-10-23 04:11 PM Re: Simple Question
str1der Offline
Fresh Scripter

Registered: 2002-10-07
Posts: 33
Loc: Cincinnati
Thanks, that's what I thought. I just saw each being used here and couldn't figure out why.
Top
#31268 - 2002-10-23 04:12 PM Re: Simple Question
Waltz Offline
Seasoned Scripter

Registered: 2002-08-01
Posts: 485
Loc: Waterloo, Ontario, Canada
Jens...
I solved that one by having a persistent mapping to ZZZZZ: share$ /dev/caffiene [Big Grin]
_________________________
We all live in a Yellow Subroutine...

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 1247 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.053 seconds in which 0.024 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