I want to make a batch file that designated as a folder name date of a previous day.How can I do?
Here is my batch file.
Set Tarih1=%date:.=% d:\ cd \ Yeni Klasör md %date:.=% cd %date:.=%
thanks in advance.
It's possible, but...
I suggest using a more capable programming languages - PowerShell, maybe Python or Perl.
Also, when changing drives, you must use only the drive letter, without a path.
If you really don't want (or can't) use Powershell, then you could do it calling a .vbs (VBScript file)
In your batch file call it this way: