Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I've downloaded an .exe file but it closes quickly as it opens

Tags:

exe

I am trying to open a downloaded .exe file but it closes as soon as it opens. Is there any possible way so that I can open it for a longer duration to read the content.

like image 317
ssingh Avatar asked Dec 16 '22 16:12

ssingh


1 Answers

It's probably a console application rather than a GUI application. Use the command prompt to run the .exe.
Do the following...

Hold down your Windows key on your keyboard and then tap "R". This will bring up the Run dialog. Type in "cmd" (without the quotes). Hit enter. (this will work in all Windows versions - browsing the start menu/screen differs in each version)

If you saved the file to c:\downloads and it's called myFile.exe, type

C:
cd C:\Downloads
myFile.exe

Some of the steps are a bit redundant - if you know what you're doing in the command prompt then skip as needed (but then you probably wouldn't be posting this question). This will work even if you saved the file to D:\downloads.

Another example - if you saved the file to D:\folderA\Folder with a space\ and the file is called "my file with a space.exe" then type

D:
cd "D:\folderA\Folder with a space"
"my file with a space.exe"

If there is an issue (eg it's a 64-bit executable and you're on 32-bit Windows) then you may get a better error message at the command line.

like image 106
Ian Yates Avatar answered Dec 28 '22 11:12

Ian Yates