invalid DOS command
Results 1 to 5 of 5

Thread: invalid DOS command

  1. #1

    Talking invalid DOS command

    I just encountered a weird problem with my customer.I'm asking her to run IPCONFIG and she's getting "invalid DOS command" msg.Her OS is winxp.We also tried to run the command PING and we even typed in the command EXIT to get out of DOS and still getting the same msg.

  2. #2
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    Check the PATH.
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  3. #3
    we even tried to get out of the directory.We only had C:/ipconfig

  4. #4
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    Type the command path. What does that tell you?

    It should at the very least contain c:\windows and c:\windows\system32.

    Another way to check/change it is:
    Richt click on "My Computer"
    Choose Properties.
    Advanced tab.
    Button at the bottom "Environment variables"
    Bottomhalf "Systemvariables".
    "Path" should be in that list.
    If it's not there add it and put at least "C:\windows;c:\windows\system32" in there.

    Now close any open command prompts and open a new one.
    The path should now be set.
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  5. #5
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    Posts
    2,716
    If you can't use the "exit" command, it may be something other
    than just a path problem. "Exit" is built into the command
    processor, and should always be available.

    Maybe cmd.exe is corrupted. You could try restoring it from the
    original cab file or from backup.
    I came in to the world with nothing. I still have most of it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •