Creating shortcut for a c application

  • Thread starter kthouz
  • Start date
  • #1
193
0
Hi!
I'm now learning to write programs with c codes. But always when we run those programs we firstly go throught their algorithm's codes (i mean IDE screen). So is it possible to run a program without seeing those codes? I mean go directly to the DOS. Or is it possible to create "shortcut" for those programs. if yes just tell me how?
Thank you!
 

Answers and Replies

  • #2
Yes. The compiler creates an exe and stores it on the hard disk. If you are using Turbo C, it will be in C:\program files\TC\bin , perhaps. For other IDEs it may be in the "projects" folder.
 
  • #3
193
0
changing icon for a c progrm

Yes. The compiler creates an exe and stores it on the hard disk. If you are using Turbo C, it will be in C:\program files\TC\bin , perhaps. For other IDEs it may be in the "projects" folder.
Thanks. i found them.
And now am tryin to change their icon using windows like i do for any other program(right click on the item>properties>change icon) but it can't work.
Is there anything else i need to know?
 
  • #4
Thanks. i found them.
And now am tryin to change their icon using windows like i do for any other program(right click on the item>properties>change icon) but it can't work.
Is there anything else i need to know?
Writing good code is more important than making eye-candy icons.:wink:
Actually I don't know how to do it :tongue:
 
  • #5
rcgldr
Homework Helper
8,706
534
Click on start, right click on all programs. Create a new folder. Double click on the new folder to open it. Right click on folder window and select new, shortcut. Search for your program (the .exe) file. If the program has an icon in it, it will automatically get picked up. If there are parameters, add them after the name of the program when creating the shortcut. Click on next and change the name if you want.

If you didn't get an icon for the shortcut, right click on the shortcut, and click on change icon, and again, fine the .ico file for your program. Windows will start off with the generic set of icons from some .DLL file. You can pick up icons from .DLL files, .EXE files, or .ICO files.

Note that this same process can also be used to create shortcuts to .BAT file to run command scripts. For Windows XP or Vista batch files, prefxing a program path and name with start, such as

start \myfolder\myprogram1.exe
start \myfolder\myprogram2.exe

allows multiple programs or multiple instances of a program to be launched with a single shortcut to a batch file.
 
Last edited:

Related Threads on Creating shortcut for a c application

  • Last Post
Replies
5
Views
3K
Replies
2
Views
4K
Replies
3
Views
11K
Replies
5
Views
4K
Replies
9
Views
4K
  • Last Post
Replies
7
Views
62K
Replies
6
Views
3K
Replies
9
Views
2K
Top