What is the alternative for source command in cmd?

For activating an environment:

activate myenv

for deactivating (all)

deactivate

At CMD prompt,it worked by running

myvenv\scripts\activate.bat

Go to the the directory where you have the ".bat" file by executing this command:

C:\Users\MyName\Desktop\ProjectsWork\FlaskApplication> cd env\Scripts

Then just call the ".bat" file

\Desktop\ProjectsWork\FlaskApplication\env\Scripts> activate.bat

(env) C:\Users\MyName\Desktop\ProjectsWork\FlaskApplication\env\Scripts>