help me compress multiple files?

So here's my problem. I've got a file folder with just over a thousand files in it, and I need to compress these files into individual .zip files. These are roms to be used for emulation. I thought I could use a simple batch file, but the batch file doesn't seem to do anything, nor does trying the command itself in a command prompt.

I'm using 7zip as my compression software of choice.

The batch file I'm trying is:
for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a "" "%%X\"

However, nothing seems to happen. Trying to run this same command in command prompt (with single %) also seems to do nothing. No error given, just... nothing happens. I really don't want to have to go through and zip each of these individually
I could be wrong, but I think you went a little too quote-happy.

Oh I'm command-prompt stupid and copied these directly from several sources that all said the same thing.

edit: although this did make me think of something, and testing it I was correct. This command only works on folders. I need a batch file for individual files
Aaaand I fixed it.

Again using my copy/paste skills, I managed a batch file that looks for individual files instead of folders. For anyone curious:

SET SourceDir=C:\wheretheromsare
SET DestDir=C:\wherethezippedromsaregonnabe

CD /D "C:\Program Files\7-Zip"
FOR /F "TOKENS=*" %%F IN ('DIR /B /A-D "%SourceDir%"') DO (
7z.exe a "%DestDir%\" "%SourceDir%\%%~NXF"