the system cannot find the path specified


  1. Posts : 2
    Windows 7 64 bit
       #1

    the system cannot find the path specified


    I have been recently starting to learn python. It has been going well until this morning. I have been using the command line window to run python programs which I have saved to a folder on the Desktop. This morning when I enter the command line window, I am unable to use the cd command to go to any folder C:\Users\Mike. I receive the following error message "the system cannot find the path specified".I can use the dir command and the folders are present in Mike but I cannot navigate to them in this window.
    Any suggestions wold be appreciated.
    Mike
    PS: Interestingly from the command line I could get to my secondary hard drive (E:) and then I could use "cd\" to change to whatever subfolder I wanted. I still can use "cd\" on my C drive.
    Last edited by mike9172; 12 Jan 2016 at 13:30. Reason: Further info
      My Computer


  2. Posts : 721
    Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
       #2

    Python's a great choice. A worth while learning investment indeed.

    As a convenience tip, when working with the command prompt always take advantage of the tab completion in order to avoid typos (which is definitely something you'd want to do as little as possible when) on the command line. Additionally, if you are working with an un-elevated command prompt, you may simply drag-drop a file or folder into the prompt as a shortcut to typing out the item's full path.

    Should you continue to experience error message 3 ("The system cannot find the path specified.") after making use of my advice, post a screenshot of your attempt to "dir" and then "cd" to the path of your problem directory, in case it may reveal anything obvious that you and I may have missed.
      My Computer


  3. Posts : 5,092
    Windows 7 32 bit
       #3

    Could it be that the backslash is an escape character?

    https://pythonconquerstheuniverse.wo...ows-filenames/
      My Computer


  4. Posts : 2
    Windows 7 64 bit
    Thread Starter
       #4

    Dear All,
    Thank you for your help. I have discovered if you enter the full path name following the cd\ it will bring me to the folder that I wanted. This method is not how I did last week but as long as works I don't care that much why the former method does not work. Anyway thanks for the help.
    Mike
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:08.
Find Us