Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Question about Command Prompt

  • 03-01-2005 04:57PM
    #1
    Closed Accounts Posts: 5,114 ✭✭✭


    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,132 ✭✭✭✭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,132 ✭✭✭✭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,114 ✭✭✭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,132 ✭✭✭✭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