'Opening command prompt to the same directory on different PCs
I'm using python to open command prompt on multiple PCs however the file paths differ between the two PCs.
I'm using
os.startfile('C:\\WINDOWS\\system32\\cmd.exe')
on both machines
The first PC opens with this(this is what I need it to open with)
C:\Users\user\Documents\Python>
The second pc runs the same code but opens command prompt with this
C:\Users\user>
How can I get it to open like the first PC does?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
