Home > front end >  How to get a batch file use it's current folder path to complete mkdir and copy item/destinatio
How to get a batch file use it's current folder path to complete mkdir and copy item/destinatio

Time:01-14

I'm attempting to write a simple batch file that will archive (mkdir and copy) certain project files before edits are made. I already have the mkdir and copy lines written and working (I've used them for other archive purposes). The issue that I can't seem to find a solution for, is how to replace/edit(?) a portion of the folder path without manually editing the folder path every time a new project folder is created. What I have written so far is as follows:

@echo off

mkdir "B:\New 3BE File Structure\CONSULTING\_PROJECTS\XX-####\Design\!Archive\           
  •  Tags:  
  • Related