Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Opening exe Files problem.
  
User name:
Password:
Reply:
 

UserPost
FreeDOS
Posts: 1276/1657
So did I... I copied WINFILE.EXE from WinNT4 to my Win2k. I like it better

I'd upload it, but I'm not sure how strict the warez rules are.

EDIT It's in Service Pack 6a. I think it's in CAB format, but 7-Zip can open it (edit again: DO NOT downlod the express version, download the "network" one, the whole service pack)
neotransotaku
Posts: 2749/4016
i don't have that enabled...takes up too much space in the explorer window. It's weird though since I did like the file manager for Win 3.1
FreeDOS
Posts: 1273/1657
Well... normally, Explorer has that left-hand list of directories.
HyperLamer
Posts: 3837/8210
Yeah, but with that you have to go back to the parent directory and right-click it. It'd be much nicer if you could just right-click in the file list itself. Plus I tend to just keep one DOS box open all the time.
neotransotaku
Posts: 2746/4016
so, that's how they put stuff in the global right-click list... I've always wondered how they did that...
FreeDOS
Posts: 1271/1657
Or my preferred way: Right-click a directory and get a command prompt like that. You need to do something with the registry, but here's a file that should do it automatically:
http://mike.warpedbelief.com/crap/cmdprmpt.reg
Violent J
Posts: 265/749
Heh that works too. Guess I should have seen that coming though...
HyperLamer
Posts: 3809/8210
Originally posted by neotransotaku
If you don't want to CD your day to your folder, just make a short cut to the command prompt, using the the folder your want to start in as the working directory.

Or just copy and paste with quotes. cd "C:\Windows\Really\Long\DirectoryName\With Spaces\Blah" should work just fine.
Violent J
Posts: 255/749
Well that solved that problem. Thank you, I dident think the shortcut would make a difference but it did !

Now. Since I got dazed looking at 6502 refrenses, im going back to learning C++ cuase it was kinda fun.
neotransotaku
Posts: 2723/4016
Originally posted by Sonicandtails
When I duoble click a .exe, as in my c++ exe that opens in Command Line(DOS), it opens, displays, and terminates. I went through the switches and its clearly not setable there. So can anyone help me, so I dont have to "cd c:\blanlavboal\sdfn\asda\asd\afa" every time i want to test my exe?

Unless you hard code something into your program, this is the behavior of command-line programs since Win95. If you don't want to CD your day to your folder, just make a short cut to the command prompt, using the the folder your want to start in as the working directory.
Squash Monster
Posts: 550/677
If you want to be able to open via double clickery, then just make a .bat file to run your program.
||bass
Posts: 253/817
Originally posted by Parasyte
It is better to manually open a command prompt and run the program from there than just double clicking on the executable's icon in explorer. Most command line programs require passing input arguments on the command line. So you REALLY need to get used to using the command prompt for such programs. Using system("pause"); will just add an unneeded [EG. annoying] delay for people who actually do use the command prompt properly. So do avoid it.
True but in beta testing it can't hurt just for simplicity. You should see how many anoying and weird things most people do within #ifdef _DEBUG blocks.
Ramsus
Posts: 35/162
Oh yeah, simple solution to your problem. Copy the shortcut for the Command Prompt onto your desktop, go the the properties, and set the starting or working directory to the directory with your programs. Then it's right there when you start.
Parasyte
Posts: 370/514
It is better to manually open a command prompt and run the program from there than just double clicking on the executable's icon in explorer. Most command line programs require passing input arguments on the command line. So you REALLY need to get used to using the command prompt for such programs. Using system("pause"); will just add an unneeded [EG. annoying] delay for people who actually do use the command prompt properly. So do avoid it.
Ramsus
Posts: 33/162
I think Windows has a pause command, so you can just use the statement system("pause"); in your program to call it. You can also write a batch script that outputs the results to a text file, e.g. myprogram.exe > output.txt
Violent J
Posts: 247/749
When I duoble click a .exe, as in my c++ exe that opens in Command Line(DOS), it opens, displays, and terminates. I went through the switches and its clearly not setable there. So can anyone help me, so I dont have to "cd c:\blanlavboal\sdfn\asda\asd\afa" every time i want to test my exe?
Acmlm's Board - I2 Archive - Programming - Opening exe Files problem.


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.003 seconds.