How should I do this in command prompt?
I made a file organizer code in python that uses command prompt and I got it to work by moving it into my C:/Users/Username folder and copying my downloads folder (which is what I want to sort) but when I type in
C:\python file_organizer.py Downloads
It says there is no such file called file_organizer.py. But now when I move the program into C:\ it says it cant find Downloads. This is my first time using command prompt does anyone have any tips.
Instead of just using
Downloadsyou can run command having complete path to the
Downloadsfolder like below
C:\python file_organizer.py C:/Users/Username/Downloads
Usernamewith the correct username as per your device where you are trying to run this command.
You should add the full path to Downloads
C:\ python file_organizer.py C:\FullPathToDownloads\Downloads
Found the answer. It is because I have multiple disks including my D:\ drive so the downloads folder was located in there so the command I used was.
python File_organizer.py D:\Users\Username\Downloads