Creating shortcut for a c application

  • Thread starter Thread starter kthouz
  • Start date Start date
  • Tags Tags
    Application
Click For Summary

Discussion Overview

The discussion revolves around creating shortcuts for C applications and modifying their icons. Participants explore methods to run C programs directly without displaying the code in an IDE and share insights on changing program icons in Windows.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Homework-related

Main Points Raised

  • One participant inquires about running C programs directly in DOS without displaying the code in an IDE.
  • Another participant explains that the compiler generates an executable (.exe) file stored on the hard disk, with a specific location mentioned for Turbo C.
  • A participant expresses a desire to change the icon of the C program using Windows properties but encounters difficulties.
  • Further guidance is provided on creating a shortcut for the program, including steps to ensure the icon is displayed correctly and how to add parameters if needed.
  • There is a suggestion that writing good code is more important than focusing on aesthetics like icons.

Areas of Agreement / Disagreement

Participants generally agree on the process of creating shortcuts and the existence of executable files but express differing levels of success and knowledge regarding changing icons.

Contextual Notes

Some participants may have assumptions about the specific IDEs or operating systems being used, which could affect the applicability of their suggestions.

Who May Find This Useful

Individuals learning C programming, those interested in software development, and users looking to customize their application shortcuts in Windows.

kthouz
Messages
188
Reaction score
0
Hi!
I'm now learning to write programs with c codes. But always when we run those programs we firstly go through 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!
 
Technology news on Phys.org
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.
 
changing icon for a c progrm

Google_Spider said:
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?
 
kthouz said:
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 :-p
 
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:

Similar threads

  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 133 ·
5
Replies
133
Views
13K
  • · Replies 1 ·
Replies
1
Views
698
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K