Error: 'export' is not recognized as an internal or external command, operable program or batch file

Hi,

I’m trying to set an environment variable for the first time (Windows 8.1, 64 bit) and I keep getting this: error: ‘export’ is not recognized as an internal or external command, operable program or batch file

What do I do to fix?

Thank you.