Re: Batch File Did Not Run Correctly

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.



.



Relevant Pages

  • Re: startx fails
    ... Subject: startx fails ... Have you looked in the paths shown in the error message? ... configure the netscape http server. ... install, or one on which people have done lots of patches? ...
    (comp.unix.sco.misc)
  • Re: Help! NTVDM error
    ... > Or uncheck the first half of the startup items, reboot and see if you still ... If you don't get the error message, ... > [[You have used the System Configuration Utility to change the way Windows ... > spyware if installed with the sponsor program it offers to install. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: install SBS2003 Trial - Update, reboot = "Expired"
    ... I tarted install on 7/23 and after windowsupdate date was 5/23. ... I got the error message only after updating. ... did so and then after a reboot I got to a login screen - saw the To do list and I shutdown and rebooted twice - just to see if all was OK with that error message. ... Debugging Tools for Windows - Overview ...
    (microsoft.public.windows.server.sbs)
  • RE: Cannot turn on automatic updates nor use windows update
    ... but got an error message "The application failed to initialize ... "nass" wrote: ... "Install the ActiveX control required to view the website. ... gives me an error message saying that "Windows cannot find 'scf'....". ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: startx fails
    ... and "I think I don't have the right video driver installed" in the same ... Have you looked in the paths shown in the error message? ... configure the netscape http server. ... install, or one on which people have done lots of patches? ...
    (comp.unix.sco.misc)