hsehestedt is correct. not quite there.
Microsoft Windows [Version 10.0.22000.527]
(c) Microsoft Corporation. All rights reserved.
C:\Users\sage4>cd OneDrive
C:\Users\sage4\OneDrive>cd desktop
C:\Users\sage4\OneDrive\Desktop>myexample
'myexample' is not recognized as an internal or external...
Microsoft Windows [Version 10.0.22000.527]
(c) Microsoft Corporation. All rights reserved.
C:\Users\sage4>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\sage4\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files...
C:\Users\sage4>dir
Volume in drive C is OS
Volume Serial Number is 34A9-A8EB
Directory of C:\Users\sage4
03/03/2022 04:42 PM <DIR> .
02/26/2022 03:57 PM <DIR> ..
03/03/2022 01:26 PM <DIR> .anaconda
03/04/2022 05:23 PM <DIR> .conda...
Trying to learn python. The class wants me to put a python file on the desktop and run it from there using command prompt. Unfortunately there is no Desktop. I can find in file explorer under C:Useers/Default. How do I do this with the command line?