Copying some files

mainak's Avatar

mainak

02 Dec, 2016 11:29 PM

Hi,

   How do I copy file A from FoderX in code repo that gets copied to FolderY/Bin folder before build. Bin folder may or may not exist.

Regards
Mainak

  1. 1 Posted by Ilya Finkelshte... on 03 Dec, 2016 01:14 AM

    Ilya Finkelshteyn's Avatar

    Maybe echo D | xcopy FoderX\fileA FolderY\bin /y if I understood you correctly.

  2. 2 Posted by mainak trivedi on 05 Dec, 2016 05:12 PM

    mainak trivedi's Avatar

    Thanks Llya. What I meant was if it's alright to provide complete path c:\project\xyz-repo-cdza\
    or there is a way to provide relative path so that we avoid hard coded full path (not sure if this path could change). Will I be able to use
    xcopy relativepath ?
          From: Ilya Finkelshteyn <[email blocked]>
     To: [email blocked]
     Sent: Friday, December 2, 2016 5:14 PM
     Subject: Re: Copying some files [Questions #2835]
       
     #yiv8040849963 pre {width:92%;margin:10px 2%;padding:5px 2%;background:#efefef;border:1px solid #d6d6d6;}#yiv8040849963 blockquote {margin-left:0;padding-left:1em;border-left:5px solid #ccc;}

  3. 3 Posted by Ilya Finkelshte... on 05 Dec, 2016 06:00 PM

    Ilya Finkelshteyn's Avatar

    Sure, you can use relative paths with xcopy. If you are not sure what is correct relative path, you can RDP to build worker and examine folder structure on VM.

    --ilya.

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:10 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac