-
July 9th, 2007, 09:41 AM
#1
system32\cmd.exe taking too long to load file
I am using the system(START Outputfile);
command in my program to display the outputfile to the screen and it is taking about 1 minute to be displayed. I would like to know what could be causing the problem.
I am letting the user input the filename, I open the file, write to the file and close file and then I use the system command to display the file. I don't know if it is related to how big the file is. I know the file is created with the results, because I see it my directory.
Also could it be I am killing a process before I call the system call. Please I need some ideas.
-
July 10th, 2007, 12:33 PM
#2
Re: system32\cmd.exe taking too long to load file
What is the contents of outputfile?
Why don't you use ShellExecute or ShellExecuteEx to display the file? That is the windows way of doing that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|