1.) Open the folder on your hard drive (InitialProject).
2.) Right click your mouse in the folder.
3.) Select "New" Text Document
4.) Name the Document "swa" (no extension)
5.) If prompted to change the filename extension click "YES"
If this works, let me know.
thanks
Darrell Porter
Operations Manager
WiseConnect, Inc
www.wiseconnect.com
-----Original Message-----
From: Frank Lawlor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 8:17 AM
To: Tomcat (E-mail)
Subject: There is no disk in the drive!
When I run my web application using Tomcat as a service
under windows 2000 (Tomcat 3.1.1) I'm running into a strange
message.
My app runs an eternal .cmd file to populate some
directories. One of the lines in the cmd file is
xcopy InitialProject\*.* Projects\%1 /E
This works fine when Tomcat is not a service, but when it
is a service, the server machine twice puts up a message
box with:
"There is no disk in the drive. Please insert a disk in the
drive \Device\Harddisk\DR1."
If I hit "Continue" it goes on to work just fine.
If I put in two xcopy statements the message comes up
four times, so it seems to be a result of the two xcopy
arguments.
Changing the argument paths to explicit paths doesn't
help. E.g.,
xcopy C:\Tomcat\XXX\InitialProject\*.* C:\Tomcat\XXX\Projects\%1 /E
Other commands (e.g., mkdir) don't seem to have any
problem.
Any idea how to fix this?
Thanks,
Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.