Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Question about Command Prompt

  • 03-01-2005 4:57pm
    #1
    Closed Accounts Posts: 5,115 ✭✭✭


    Hi,
    I have a file (Hurl.exe) on my desktop that i cant delete. I want to use cmd to do it, however, the file is on the desktop and i cant move it.

    When i open "cmd" the default directory isn't desktop so how do i change it?

    Thanks in advance


Comments

  • Registered Users, Registered Users 2 Posts: 32,136 ✭✭✭✭is_that_so




  • Closed Accounts Posts: 82 ✭✭cyberbob


    cd ..
    repeatedly till you get to c:\ ,
    then cd [dir name] to get to the desktop .
    you may need to truncate dir name to 8 chars , so check the dos name of the directory that yer desktop is in


  • Registered Users, Registered Users 2 Posts: 32,136 ✭✭✭✭is_that_so


    cd\ or cd \ will also take you to C:\ without having to traverse a long path and you can also use a wildcard to cd into a directory
    eg cd My Prog* - works if it is unique


  • Registered Users, Registered Users 2 Posts: 4,287 ✭✭✭NotMe


    To change to the desktop type:

    cd "c:\documents and settings\username\desktop"
    cd\ or cd \ will also take you to C:\ without having to traverse a long path and you can also use a wildcard to cd into a directory
    eg cd My Prog* - works if it is unique

    or type the first few letters and the press tab to complete the filename


  • Closed Accounts Posts: 82 ✭✭cyberbob


    is_that_so wrote:
    cd\ or cd \ will also take you to C:\ without having to traverse a long path and you can also use a wildcard to cd into a directory
    eg cd My Prog* - works if it is unique
    you live n learn .
    cmd is such a pain to use tho...


  • Advertisement
  • Closed Accounts Posts: 5,115 ✭✭✭Pacifico


    Not exaclty, its not a virus or spyware.

    I dont have Real Player and this file is associated to it. Got it from amazon.com listening to sample tracks :(

    Also i tried eraser.exe which cant do it as the file is in use.......

    Basically what i'm asking is:

    In Cmd how do i change this;
    C:\documents and settings\user\

    To this;

    C:\documents and settings\user\desktop


    Edit: That was quick :p Thanks NotMe that worked great :)


  • Registered Users, Registered Users 2 Posts: 4,287 ✭✭✭NotMe


    Axel wrote:
    Basically what i'm asking is:

    In Cmd how do i cangge this;
    C:\documents and settings\user\

    To this;

    C:\documents and settings\user\desktop

    just type

    cd desktop


  • Registered Users, Registered Users 2 Posts: 447 ✭✭shinobi


    Your best bet may be to go into the control panel> add/remove Programmes, & Uninstall it from there (also uninstall Gator if it's there as this can be responsible for these sort of things) & the Icon should delete itself once uninstalled.
    If you can't delete it using windows, the command prompt is unlightly to do any better.


  • Registered Users, Registered Users 2 Posts: 32,136 ✭✭✭✭is_that_so


    cyberbob wrote:
    you live n learn .
    cmd is such a pain to use tho...

    Tis, one only learns of necessity . sigh
    :(


  • Closed Accounts Posts: 82 ✭✭cyberbob


    is_that_so wrote:
    Tis, one only learns of necessity . sigh
    :(

    im more of a linux head meself . would be an advocate of command prompt usage in linux , but i still hate cmd in dos. just rubs me up the wrong way


  • Advertisement
Advertisement