Copy multiple files in vbscript




















No attempt is made to roll back or undo any changes made before an error occurs. Files copied to a new destination path will keep the same file name. To rename the copied file, simply include the new file name in the destination path. For example, this will copy the file to a new location and the file in the new location will have a different name:. Have questions or feedback about Office VBA or this documentation?

Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. Skip to main content. This browser is no longer supported. Thereby to copy all files and then remove the not needed files would not work. You have! The brace expansion you are using is not supported by dash :. The simple solution is to use bash instead.

Just change your shebang line from! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Learn more. How can I copy multiple files inside a bash script [duplicate] Ask Question. Asked 10 months ago. Active 10 months ago. Like this: Like Loading Published by kishan. Share this: Twitter Facebook. Leave a Reply Cancel reply Enter your comment here Fill in your details below or click an icon to log in:.

Email required Address never made public. Preet Sangha Add a comment. Active Oldest Votes. Improve this answer. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.



0コメント

  • 1000 / 1000