I want to copy file from one drive to another drive, I done it successfully, but I am facing problem there, which file name is greater than 11 character.I am using the following command/CODE.
please tell me how to cover that problem.>
HOST ('copy '|| :file_name ||' E:\',no_screen);
Note the use of double quotes in the command.
HOST ('copy "'|| :file_name ||'" E:\',no_screen);
If you get an error then you will need to resolve that error.
COPY D:\AZ_Logo\AZLogoAZLog.jpg E:\
but his code is working fine lest then or equal to 11 charactersDoes your file get copied, but the file name is truncated to 11 characters or are you getting an error when the file name exceeds 11 characters?