R
R
Roma2017-03-10 10:52:02
PowerShell
Roma, 2017-03-10 10:52:02

Moving to a folder with a unique name?

there is a folder with a name like YEAR_MONTH_DAY(2017_01_30), such a folder is created every day,
how can I make a script that will open such a folder itself (created today) and copy data from it to another?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Tsvetkov, 2017-03-10
@tsklab

copy ГОД_МЕСЯЦ_ДЕНЬ(%date:~6,4%_%date:~3,2%_%date:~0,2%) другая

D
dinegnet, 2017-03-10
@dinegnet

Working with dates in CMD
forum.oszone.net/thread-235677.html
Not a solution to your question, of course, but you can clearly see how to work with dates and today's number in file names

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question