help running batch files

This is a discussion on help running batch files within the Tech Board forums, part of the Community Boards category; my computer for some reason cant run batch files. i cant even run the cmd.exe from the start>run. i dont ...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    17

    help running batch files

    my computer for some reason cant run batch files. i cant even run the cmd.exe from the start>run. i dont no what my problem is, i have looked at many sites and have found no help, and i need to be able to use the cmd to run my compiler. anyone know how i can fix this?

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    What OS? What happens when you try to run cmd.exe? What happens when you try to run batch files?

  3. #3
    Registered User
    Join Date
    Sep 2005
    Posts
    17
    when i try to run cmd.exe it says "windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access this item. I am on the administrator account, so i dont know why it says that. the same message appears for batch files

  4. #4
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    You must not have cmd.exe/command.com (depending on your OS).

    [edit]Can you find cmd.exe/command.com from Windows? Does it exist?[/edit]
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  5. #5
    Registered User
    Join Date
    Sep 2005
    Posts
    17
    Quote Originally Posted by dwks
    You must not have cmd.exe/command.com (depending on your OS).

    [edit]Can you find cmd.exe/command.com from Windows? Does it exist?[/edit]
    yes i have cmd.exe in windows. i searched for it and it came up, tryed to click it and received the same message.

    i think it has something to do with me not being able to run dos files.. i dont know why i cant though

  6. #6
    Registered User
    Join Date
    Aug 2005
    Posts
    22
    Does your "regedit" and "msconfig" commands are working?
    If not it may done by some sort of virus.
    Try virus scan and run system file checker and system restore too.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. accessing all files in a folder.
    By pastitprogram in forum C++ Programming
    Replies: 15
    Last Post: 04-30-2008, 10:56 AM
  2. batch file introduction in multiprocesses program
    By c_geek in forum C Programming
    Replies: 0
    Last Post: 03-27-2008, 01:52 PM
  3. Help with loading files into rich text box
    By blueparukia in forum C# Programming
    Replies: 3
    Last Post: 10-19-2007, 12:59 AM
  4. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21