Q&A for How to Run an EXE File From Command Prompt

Return to Full Article

Search
Add New Question
  • Question
    How can I make a exe file safe?
    Luigi Oppido
    Computer & Tech Specialist
    Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years.
    Computer & Tech Specialist
    Expert Answer
    Be sure to scan the exe file with your antivirus program first—sometimes, the program can open up that package and see malicious things that are inside. Still, you should only ever open an exe file when you know exactly what it is, as these files can be very dangerous.
  • Question
    How can I run the exe as an executable if I know the file extension is not exe? For example, if the file is compiled on Linux and transferred to Windows, how would I run the file without an extension?
    Community Answer
    Edit the file's name (press F2 or right click and rename), then add an .exe to run the file as executable in Windows.
  • Question
    How can you open an exe file on raspbian using a command prompt?
    Community Answer
    Raspbian is a version of Linux, not Windows. Only Windows can run exe files, you'll need to get a Linux version of the program you're trying to use.
  • Question
    Why we can not use the path directly to the exe file?
    Community Answer
    You can, but if the path contains spaces, you will need to put your path between quotation marks. Alternatively, you can use the Start command: start C:\path\to\executable\app.exe.
  • Question
    Lets say I want to run an exe to install ethernet drivers. How would I do it so everything it gets from it would get moved to the “wired” foldering in the “network” folder. Thanks
    Top Answerer
    That depends very much on how the program was created. There isn't an answer that will work with every single possible installer/self-extracting archive. For ones created with WinZip, you would use: '''ethernet.exe -d C:\network\ethernet'''
  • Question
    How to open BASIC in CMD?
    Top Answerer
    Basic is not included with recent versions of Windows. In Windows 95, 98, and ME, you can open a Basic interpreter with the QBASIC command.
  • Question
    Can I install Anaconda software in a PC using cmd?
    Aidan
    Community Answer
    No, you cannot install programs with command prompt. You may want to check the folder the software is located in and run the setup program.
  • Question
    How can I reach command prompt from a boot-looped laptop running Windows 10?
    Aidan
    Community Answer
    Try to start Windows in safe mode, or put a Windows install disc into your DVD drive. It should give you the option to start a command prompt.
  • Question
    The $ sign doesn't work in Command Prompt. Any advice?
    Ilovetohelpyou.forfree
    Community Answer
    Try restarting. Make sure you hold down shift key +4 or copying it off here, then pasting $.
  • Question
    When I try to change the directory using cd C:/Program Files/ it says: The system cannot find the path specified. cd C:/Documents and settings works, but it's wrong with every other way.
    SoyokoAnis
    Community Answer
    This means the account on the PC is run from a Microsoft account, not a local account. You'll need to hard reset your computer.
  • Question
    How do you know if your USB drive is corrupted? I've tried this with two different laptops and the CMD still says "The system cannot find the path specified."
    Minespids92
    Community Answer
    You can check for corruption by using checkdisk. to run check disk for a USB on drive D:\ you need to launch CMD with admin, type in chkdsk d:\ /f /x. the /f switch will tell windows to fix any errors. the /x switch will tell windows to forcefully unmount the drive before scanning.
  • Question
    It is showing your file does not exist, even if it exists...wht to do???
    Nithik R
    Community Answer
    Make sure you are in the correct directory. For example, if your file is in "C:/path/to/folder" you have to ` cd C:/path/to/folder ` while replacing it with the actual path. If you still can't make it work, then your file is probably broken or corrupted.
  • Question
    How to open run.exe on cmd?
    Community Answer
    You don't open run from the command prompt, you can access the Run dialog by holding the Windows logo key on your keyboard and pressing the R button.
  • Question
    How can I fix my USB? When I put in my computer says 0 bytes and it's 16GB?
    The coding cat
    Community Answer
    The drive may be full or it could be corrupted. Try running a drive scan and if that does not work, speak to Microsoft support about this issue.
  • Question
    The CMD keeps telling me "specified file path doesn't exists" but it exists.
    The coding cat
    Community Answer
    Make sure the file/folder is not corrupted and that this is the correct location.
  • Question
    What if the file is one some other drive than C?
    The coding cat
    Community Answer
    Instead, type "$:/your/file/location". Where $ is the letter for your different drive.
  • Question
    After following the process, I am getting error "Failed to execute script". Could you please help me in this?
    The coding cat
    Community Answer
    This may be because the script you are trying to run is broken or it cannot be found.
Ask a Question

      Return to Full Article