hi guys,
i want to create a folder with naming as yesterday date.can anyone help me out.i require dis to do my office work as daily task.plz help me
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
@echo off setlocal enabledelayedexpansion cls set vbs=%temp%\vbs.vbs > %vbs% echo WScript.Echo DateAdd("d",-1,Date) for /f "tokens=* delims=" %%a in ('cscript //nologo %vbs%') do ( set newfold=%%a&set; newfold=!newfold:/=-! md "!newfold!" echo New folder created !newfold! )Please come back & tell us if your problem is resolved.