Jul 26, 2008

Accessing Dos - i'm a newb

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > C/C++ Programming

free web hosting

Accessing Dos - i'm a newb

sangdukseo
Hey, i'm a newbie at c++. Is there anyway to access the windows system files through a c++ program? Kind of like running a command through dos. I could really use help here.

Second question. How do you create a system tray icon in windows? can this be done in c++?

i feel very dumb. please help me out.

Reply

switch
lol don't feel dumb, i've been doing c++ for a year and i don't have a clue how to make a system tray icon. my best guess at that you could find a tutorial at www.codeproject.com.

[5 minutes later...] yep, the article is here.

never tried it myself, but as a general rule 'the codeproject' is awesome.

as for running a command through dos, the win32 command 'system()' will run a command as if you are typing it into an MS-DOS prompt. for instance:
CODE
system("edit myFile.txt");

will quickly pop open a console window, run the command "edit myFile.txt" and then show the resultant MS-DOS text editor.

hope that was what you were after.
keep coding!

Reply

dul
Hi. this is very good class which makes system tray icon. Site is http://www.planet-source-code.com/vb/scrip...d=6347&lngWid=3 . Try this. Thanks.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. run .ima from dos - 9.44 hr back. (1)
  2. pc dos ima - 27.64 hr back. (1)
  3. accessing dos - 155.90 hr back. (1)
  4. run dos system tray - 177.10 hr back. (1)
Similar Topics

Keywords : accessing, dos, im, newb

  1. Accessing Physical Memory
    Important needed for project (3)


      Looking for accessing, dos, im, newb

Searching Video's for accessing, dos, im, newb
advertisement



Accessing Dos - i'm a newb



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE