I want my PC to create a folder with the day's date everyday. I cannot get it to work with Task Scheduler. Here's what I have:
- Program/script:
mkdir
- Add arguments:
TEST_%date:~10,4%-%date:~4,2%-%date:~7,2%
- Start in:
D:\File Backups\
Whenever I run this from command prompt, it works. I don't understand why it isn't working with Task Scheduler. It says The system cannot fine the file specified. (0x80070002)
.
When I run it from command prompt, here's what I say:
mkdir "D:\File Backups\TEST_%date:~10,4%-%date:~4,2%-%date:~7,2%"
I am using Windows 8.1.