lejarza
asked on
how to copy a file and rename it with a batch .dat file
hi i want to copy the file C:\WINPCACE\BCTRANS.DAT
into my x:\ drive an rename it into x:\CLAIMS.TXT
CAN ANYONE HELP ME CREATING THE BATCH FILE .DAT
thnaks
into my x:\ drive an rename it into x:\CLAIMS.TXT
CAN ANYONE HELP ME CREATING THE BATCH FILE .DAT
thnaks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i did it but tells me access denied
Can't help you with that. If you don't have permissions to write to the destination, you'll need to talk to your network administrator.
For a test, try following line, and tell us if it errors out:
copy nul x:\claims.txt
copy nul x:\claims.txt
...or just open the X: drive and create a new file there...
copy /y c:\winpcace\pctrans.dat x:\claims.txt