Re: basic .bat script problem running on 2003 server
- From: "Al Dunbar [MS-MVP]" <alan-no-drub-spam@xxxxxxxxxxx>
- Date: Mon, 30 May 2005 20:57:22 -0600
"tech-pete" <tech-pete@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7CAF9AE0-9CB1-4373-AD17-08AA085F001B@xxxxxxxxxxxxxxxx
> I have a basic script that we use and it only runs part of it and then a
> message "Batch file missing". If I run the script from the run command on
a
> 98/ME machine from the 2003 server the script runs fine. Only at login is
> when the problem occurs.
> Script:
> net time \\servername /set /yes
> net use * /delete /y (after this line is when we get batch file missing)
> net use z: \\servername\x /y
> net use y: \\servername\x /y
> net use w: \\servername\x /y
> net use v: \\servername\x /y
> net use s: \\servername\x /y
> etc. up to k
>
> We are trying to control all the mapped drives as we migrate to a full
> native 2003 domain, for all our XPpro, 98 & ME machines. XPpro sometimes
> runs the script but sometimes does not run it. thanks.
Where is the script located, and what mechanism is used to cause it to be
invoked? If the script is run from whatever share is mapped to drive "Z:",
for example, you should expect a problem when that drive letter is remapped
elsewhere.
/Al
.
- Follow-Ups:
- Re: basic .bat script problem running on 2003 server
- From: tech-pete
- Re: basic .bat script problem running on 2003 server
- References:
- basic .bat script problem running on 2003 server
- From: tech-pete
- basic .bat script problem running on 2003 server
- Prev by Date: Re: Win32_Product doesn't list all installed Applications
- Next by Date: Need Script to Run Remotely on all PCs
- Previous by thread: basic .bat script problem running on 2003 server
- Next by thread: Re: basic .bat script problem running on 2003 server
- Index(es):
Relevant Pages
|