#65594 - 2002-05-21 01:29 PM
Problem read from network driver in script.
|
Gera
Getting the hang of it
Registered: 2002-02-27
Posts: 70
Loc: Israel
|
Hi! I run script localy,v3.63 on win9x station.Everything was fine. This is update of antivirus and some script for invenory.
If @WDAYNO="0" Or @WDAYNO="3" Shell "%comspec% /e:2048 /c \\server_BDC\cheyupd$\avupdate.exe" Else Goto "inv" EndIf
If @WDAYNO="1" shell "%comspec% /e:2048 /c \\server_PDC\networkfolder\programm\file.exe" Else Goto "ie" EndIf
It's stop to read.I have one station Winxp it's steel ok there.When I change to run script from netlogon folder it's start to read.
|
|
Top
|
|
|
|
#65595 - 2002-05-21 02:08 PM
Re: Problem read from network driver in script.
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Gera,
You need to be cautious about using Admin Shares (i.e. cheyupd$). If you or another Domain Admin are running these scripts, fine. But the general users would not have Domain Administration rights to your servers.
Instead of using SHELL, can't you use RUN? Whose AV Product you using?
If you are replicating your script and files, can't you also use @LDRIVE or @LSERVER ?
code:
If @WDAYNO="0" Or @WDAYNO="3" RUN "\\server_BDC\cheyupd\avupdate.exe" Else Goto "inv" EndIf
If @WDAYNO="1" RUN "\\server_PDC\networkfolder\programm\file.exe - silent" Else Goto "ie" EndIf
HTH,
- Kent [ 21 May 2002, 14:08: Message edited by: kdyer ]
|
|
Top
|
|
|
|
#65597 - 2002-05-22 10:22 AM
Re: Problem read from network driver in script.
|
Gera
Getting the hang of it
Registered: 2002-02-27
Posts: 70
Loc: Israel
|
Hi! I really don’t now what happen… The problem is when I run from command line it’s works.I change to RUN the same,no result.When I run from kixeditor just these lines it’s work fine.I bealive this is some problem with network I don’t now where start to check.Everything was work fine before.
|
|
Top
|
|
|
|
#65599 - 2002-05-23 02:49 PM
Re: Problem read from network driver in script.
|
Gera
Getting the hang of it
Registered: 2002-02-27
Posts: 70
Loc: Israel
|
Hi! I really don’t now what is happen .I fix the problem, but I didn’t found what is reason. I think I made to much test, change version from 3.63 to 4.02 and back few timesWhen I start to run script from network folder its works. So, I delete all files from local drive and its OK now.
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 1619 anonymous users online.
|
|
|