Re: Batch File Did Not Run Correctly
- From: "Diane Walker" <ett9300@xxxxxxxxx>
- Date: Wed, 5 Mar 2008 20:23:43 -0800
You are correct. I added a Set Path command "Set path=C:\". The software
installed without the error message. However, my map drive does not get
disconnected. Thanks.
"Pegasus (MVP)" <I.can@xxxxxxxxxx> wrote in message
news:O6YyzfxfIHA.1188@xxxxxxxxxxxxxxxxxxxxxxx
"Diane Walker" <ett9300@xxxxxxxxx> wrote in message
news:OX9wrbxfIHA.6136@xxxxxxxxxxxxxxxxxxxxxxx
I setup a batch file with a series of commands. If I run the batch file
(install.bat), it gave me an error message. The error message occurs
after the "setup.exe" is run. It said it cannot copy some of the files
(readme.txt, ID file not copied, ss.ini, etc.). Then, the batch file
stops. The batch file is supposed to install a software automatically.
The software never installs. However, if I manually type each line at
the command prompt, I do not get any error message. The software is
installed correctly. Can you think of any reasons?
The software resides on the server "ops1" and the share name is "ss".
Thanks.
@echo off
net use Z: \\ops1\ss
Z:
setup.exe /:L0
net use Z: /delete /yes
I suspect that either the source or else the destination of
these "copy" commands does not exist when you run the
batch file.
.
- Follow-Ups:
- Re: Batch File Did Not Run Correctly
- From: Pegasus \(MVP\)
- Re: Batch File Did Not Run Correctly
- References:
- Batch File Did Not Run Correctly
- From: Diane Walker
- Re: Batch File Did Not Run Correctly
- From: Pegasus \(MVP\)
- Batch File Did Not Run Correctly
- Prev by Date: Re: Batch File Did Not Run Correctly
- Next by Date: Re: Batch File Did Not Run Correctly
- Previous by thread: Re: Batch File Did Not Run Correctly
- Next by thread: Re: Batch File Did Not Run Correctly
- Index(es):
Relevant Pages
|