how to activate virtual env in vs code?

I cant activate virtual env in vs code. I tried same code in the cmd console is work but not in the vs code terminal.

“D:pythondjangoappdjangovenvScriptsactivate.bat” I write this code.

I am using windows 10 pro

Answer

yeah Its beacuse of terminal vs code was using powershell ı changed with cmd