Page 1 of 1 1
Topic Options
#5974 - 2000-12-28 07:43 PM Different was to map drives?
Anonymous
Unregistered


Could someone please tell me what happens differently with these two ways of mapping drives?

$Drive = "P:" $Path = "\\$Server\Projects" GOSUB "MapDrive"


use P: "\\Server\Projects"


Thanks,
Pete

Top
#5975 - 2000-12-28 07:51 PM Re: Different was to map drives?
Anonymous
Unregistered


$Drive can be stated once and the variable stays throughout the script, you'll be pasting use P: "\\Server\Projects" in every statment where you need that drive instead of $Drive and then it checks the script to find the answer.

No difference beside less typing once the variable has been stated, both work.

anybody else?

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
1 registered (Allen) and 1607 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.051 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