logo elektroda
logo elektroda
X
logo elektroda

Cmd: Navigating to C:Program Files using Command Line (from C:UserAdministrator)

kukuczkas 79124 15
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 5779319
    kukuczkas
    Level 11  
    Hello.

    I have a question, how do I attach the command line, I have C: \ User \ (administrator)> and what code should I enter to go to e.g. C: \ Program File \>, or somewhere else?
    Thanks in advance. ;)

    Greetings.
  • ADVERTISEMENT
  • #3 5779413
    marek003
    Level 40  
    Check the spelling before sending the message (Spelling button). These errors are terrible, correct them (Change button).

    To go back to the "higher" directory (one up) type cd .. and give enter
    To "go" directly to c: \ type cd /
    To enter Program Files, type as soon as you will be directly on c:
    cd "Program Files"
    You can also write directly cd "Program Files \ ahead" if you want to be in that directory Ahead in program files
  • #4 5779431
    wazzabii
    Level 10  
    cd .. - exits the directory

    c: \ - changes to drive C

    cd [folder name] - enters the given folder

    dir - will display a list of files / folders in the given location
    that is

    dir / p - j / z that the list will be displayed on the side, you will have to press any key



    if you want to go where you write this

    cd ..
    cd ..
    cd program files
  • #5 5779439
    kukuczkas
    Level 11  
    Thanks! ; D
  • ADVERTISEMENT
  • #6 5779468
    robokop
    VIP Meritorious for electroda.pl
    In short, you operate the basic set of commands from MS-Dos, it is worth reading about it.
  • #7 5779511
    mietekn
    Level 35  
    wazzabii wrote:
    c: \ - changes to drive C

    It is correct:
    c: - changes over to drive C
  • #8 5794697
    kukuczkas
    Level 11  
    And I also have a question, why if I type in the command line to delete a file, it does not delete it?
    Thanks in advance. ;)

    Greetings.
  • ADVERTISEMENT
  • #9 5794733
    tronic1
    IT specialist
    How do you type it? Are you entering the file path correctly?
  • #10 5796851
    skinnerpl
    Level 11  
    All dos commands are on the internet. It's very easy to find them.
    for example, here, simply explained, but only a drop in the mind of these Dos commands,

    Link
  • #11 5797940
    kukuczkas
    Level 11  
    I'm typing :arrow: del (file name) [enter]
  • #12 5798057
    mietekn
    Level 35  
    There are many possibilities that I do not want to delete it, for example:
    - Read-only file attribute
    - open file, in use by another application, or running

    In the first case, the following command is enough (other attributes also to be sure):
    attrib -r -h -s nazwa_pliku

    In the second case, I suggest installing the program: http://www.programosy.pl/program,unlocker.html.
  • ADVERTISEMENT
  • #13 5798306
    kukuczkas
    Level 11  
    It is the same, it does not remove itself.
  • #14 5798687
    marek003
    Level 40  
    You must enter the full name with the extension, e.g .:
    c: \ progra ~ 1 \ del costam.xls
    (If your names are longer than 8 characters, you must use quotation marks (").

    But expand what you want to do. What is the name of the file? There is sometimes no space at the end of the name (hidden space)?
    What's your system anyway? If XP or Vista, maybe it's better to use the latest unlocker right away? (Because why bother any longer).
  • #15 5810277
    kukuczkas
    Level 11  
    What unlocker ???

Topic summary

The discussion revolves around navigating the command line in Windows, specifically how to change directories from "C:UserAdministrator" to "C:Program Files". Users provided various commands such as "cd " to return to the root of drive C, "cd .." to move up one directory, and "cd "Program Files"" to enter the Program Files directory. Additional commands like "dir" for listing files and "del" for deleting files were also mentioned. The conversation later shifted to troubleshooting file deletion issues, with suggestions to check file attributes and use third-party software like Unlocker for files that cannot be deleted due to being read-only or in use.
Summary generated by the language model.
ADVERTISEMENT