Reputation: 97
enter image description hereI have scoured google and SO and cannot get my .bat file to run properly:
this is what I have:
call "C:\ProgramData\Anaconda3\Scripts\activate.bat"
"c:\Users\my name\Documents\04 PRG\VS Code\Python\Scripts\myscript.py" cmd /k
When I run this it opens up my file with VS code and then stalls. I would like it to just run my script without opening anything.
Thoughts?
Upvotes: 1
Views: 2917
Reputation: 97
call "C:\ProgramData\Anaconda3\Scripts\activate.bat"
python "C:\Users\me\Documents\04 PRG\VS Code\Python\Scripts\myscript.py"
Upvotes: 4