The current directory is invalid

Posted on 2005-05-10
Last Modified: 2008-02-01
Hi All,

I am getting the message "The current directory is invalid" when trying to renew an IP after releasing it.  The DCHP server is Windows 2000 running DHCP and DNS server.  The last thing I did was detele WINS service from the server since we are using DNS instead.  Any ideas?

Question by:allstick
    LVL 15

    Accepted Solution

    Hi allstick,
    That error message is a "DOS" issue, not networking.

    When you got to a command prompt, it'll choose your default directory as it's working directory.
    If your home directory (for example), is on a server - then that will be what it's using as it's working directory.

    It sounds like this is what you're doing.  When you release the IP address, you no longer have a connection to the server and therefore the current directory that you're in is invalid.

    Try typing "c:" and return, then do the ipconfig /release command.

    Does that help?

    Author Comment

    Hi There,

    PERFECT!!  How silly of me.  It didn't even cross my mind that there was a mapped drive that I used for testing in the logon.bat.  By the way, will all the questions I post be closed and the point be automatically rewarded to you?  Or do I have do close each question and reward each person manually?  If so how do I close the question and reward the points to qualified poster?



    Author Comment

    Sorry, nevermind the above question.  Found the answer.  Newbie here.
    LVL 15

    Expert Comment

    Glad I could help, and welcome to E-E :-)

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    What is IRC? IRC (Internet Relay Chat) is a form of communication between multiple users. It is available freely to anyone with inernet access. IRC is a great way to communicate with others e.g. There is an IRC channel for Ubuntu Linux, which is fo…
    PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now