#186739 - 2008-04-05 10:52 PM
Use * does not work
|
TruckerTom
Just in Town
Registered: 2008-04-05
Posts: 4
Loc: Germany, Frankfurt
|
first, this is my first script i try to create and my english is not so good!
But in this script i have problems with the command Use * /delete /persistant .
If i use this command, then always in the Windows Explorer i can see the share, but with a red cross. If i then click on this share it is again there, without the cross and i can work in it as nothing happens.
This is my script:
;==========================================================================
;
; KixTart Login Script
;
; Autor : Thomas Zirlewagen
; Datum : 05/04/2008
; Version : 0.1
; Kommentar : LoginScript für KixTart (www.kixtart.org) zum verbinden
; der Netzlaufwerke und Drucker
;
;==========================================================================
Use * /Delete
Exit
|
|
Top
|
|
|
|
#186741 - 2008-04-05 11:08 PM
Re: Use * does not work
[Re: TruckerTom]
|
Witto
MM club member
   
Registered: 2004-09-29
Posts: 1828
Loc: Belgium
|
- I don't see the /Persistent (it is /Persistent)
- If you want to use Exit, it only works if you set the error value. There is an item in the FAQ on it. At the end of the script, I think you don't need an Exit
|
|
Top
|
|
|
|
#186745 - 2008-04-05 11:16 PM
Re: Use * does not work
[Re: Witto]
|
TruckerTom
Just in Town
Registered: 2008-04-05
Posts: 4
Loc: Germany, Frankfurt
|
with /Persistent i become the Error: error in USE statement without /Persistent the script terminates without an Error, but the network share is still mapped like described. If i use the UDF-Script from Jens Meyer (sealeopard@usa.net) it works fine, but then i must know the drive letter and i must run the UDF for each letter...
@Les: sry, what means "parm"?
Edited by TruckerTom (2008-04-05 11:18 PM)
|
|
Top
|
|
|
|
#186748 - 2008-04-05 11:24 PM
Re: Use * does not work
[Re: Les]
|
TruckerTom
Just in Town
Registered: 2008-04-05
Posts: 4
Loc: Germany, Frankfurt
|
The Version is 4.60.0.0 Build 250.
But it was the mistake. If i use quotes it works. Fine thx!
|
|
Top
|
|
|
|
#186792 - 2008-04-08 11:59 AM
Re: Use * does not work
[Re: NTDOC]
|
Witto
MM club member
   
Registered: 2004-09-29
Posts: 1828
Loc: Belgium
|
I have been testing. I don't see a bug
;Script Options
$SO=SETOPTION("Explicit", "ON")
$SO=SETOPTION("NoMacrosInStrings", "ON")
$SO=SETOPTION("NoVarsInStrings", "ON")
BREAK ON
Use * /DELete /persistent
? @KIX
? @SCRIPTEXE
Get $SO
some results
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1057 anonymous users online.
|
|
|