DBinPhilly
Registered User.
- Local time
- Today, 05:19
- Joined
- May 21, 2013
- Messages
- 42
sorry to persist, but I'm under the gun.
I am trying to copy a pdf file between 2 directories. I am using xCopy, although I'm not married to it.
When I build my copy statement based upon various parameters, it looks something like this:
xCopy C:\PDF995\OUTPUT\*.* P:\Billing\12973\44137.pdf /y
I might note that there is only one file in C:\PDF995\OUTPUT at a time. So I copy what is there, delete it and it is empty until the next usage.
The problem is: when it executes the statement, I get a DOS message asking whether what is being copied is a File or a Directory.
How can I identify that without needing to respond to a message?
I am trying to copy a pdf file between 2 directories. I am using xCopy, although I'm not married to it.
When I build my copy statement based upon various parameters, it looks something like this:
xCopy C:\PDF995\OUTPUT\*.* P:\Billing\12973\44137.pdf /y
I might note that there is only one file in C:\PDF995\OUTPUT at a time. So I copy what is there, delete it and it is empty until the next usage.
The problem is: when it executes the statement, I get a DOS message asking whether what is being copied is a File or a Directory.
How can I identify that without needing to respond to a message?