If I understand correctly, you want to take a specific folder that is created in a YYYYMMDD format and zip up the contents. The generated zip file needs to be placed in this folder as well.
At the most basic level you can accomplish this with a command like the following
"c:\Program Files\7-Zip\7z.exe" a x:\Logs\HS\20121010\20121010.zip X:\Logs\HS\20121010\*
NOTE: 7-zip must be installed to use the above command
With the above command you would have to manually fill in the YYYYMMDD every time you want to zip up a new date folder.
This can be taken a step further and you can modify the command to use the current YYYYMMDD for today's date. The key to this is to use the %date% variable in DOS. You can read more information about this variable by typing
set /?. To format the date as YYYYMMDD we will need to take a sub-string of the
%date% variable like so:
The above command should output the date in YYYYMMDD.
Last we can put these two commands together to generate a one line command that will zip up all the files in the directory with today's date (in YYYMMDD format).
"c:\Program Files\7-Zip\7z.exe" a x:\Logs\HS\%date:~10,4%%date:~4,2%%date:~7,2%\%date:~10,4%%date:~4,2%%date:~7,2%.zip X:\Logs\HS\%date:~10,4%%date:~4,2%%date:~7,2%\*
One additional step can be taken to automate this by adding the above command as a scheduled task in windows.