- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been trying to use the utility EC.EXE to capture command-line error messages to a file. I'm having two difficulties:
first, EC crashes if the file pathnames in the command have any spaces. E.g.
EC "c:program filesexecutable.exe"
doesn't work.
Second, there seems to be a limit on the length of the command line EC can accept. It seems to work or not depending on the length of the pathnames. Is that correct?
Thanks,
Chuck Smythe
first, EC crashes if the file pathnames in the command have any spaces. E.g.
EC "c:program filesexecutable.exe"
doesn't work.
Second, there seems to be a limit on the length of the command line EC can accept. It seems to work or not depending on the length of the pathnames. Is that correct?
Thanks,
Chuck Smythe
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cannot help you with EC, but perhaps you can trap your error message by using command line redirection of standard error. Depends on your OS I believe.
James
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can reproduce the problem with the embedded spaces. I'll ask the engineer who wrote it why this is.
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page