I need help getting previous month and year in the following format YYYYMM. For example, the file would show 201507 if it runs in August 2015 or 201508 if it runs in September 2015. Using other threads I've got the as following but isn't working properly. @ECHO Off set ff=%date:~10% set aa=%date:~3,...