movefiles to anotherdirectory rename if exist RRS feed

  • Question

  • how to make this program in batch file in notepad??

    move any files to another folder and rename if file already exit here is my two paths

    move /y "D:\TPS\UBPS\BillFiles\FESCO\*.*" "D:\Billing Data\FESCO"
    move /y "D:\TPS\UBPS\BillFiles\GEPCO\*.*" "D:\Billing Data\GEPCO"

    the files are moving but not renaming them how can i add programs for renaming


    • Moved by litdev Thursday, November 26, 2015 10:55 AM
    Thursday, November 26, 2015 9:16 AM


All replies

  • This is clearly NOT a Small Baisc programming language.

    You should ask this in a general Microsoft forum.

    Jan [ WhTurner ] The Netherlands

    Thursday, November 26, 2015 9:43 AM
  • can you please give me the link of general microsoft forum?


    Thursday, November 26, 2015 10:47 AM
  • I'd try them over here.





    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Just Karl Monday, November 30, 2015 4:21 PM
    • Marked as answer by Just Karl Tuesday, December 8, 2015 5:23 PM
    Thursday, November 26, 2015 11:11 AM