Search found 1 match

by Dougmeister
10 Dec 2019 08:51
Forum: DOS Batch Forum
Topic: Get numeric name of current folder, add 1 to it?
Replies: 1
Views: 1171

Get numeric name of current folder, add 1 to it?

I have a folder for each day of the month and make changes to one file. I then need to manually copy it to the next day.

I.e., I am in folder "10". Once I'm done changing file X.txt, I need to copy it to "..\11\X.txt".

I'm sure this can be done in a batch file but I'm not sure how. Any ideas?