Re: VB6 Shell Question
From: Karl E. Peterson (karl_at_mvps.org)
Date: 06/23/04
- Next message: Jack Russell: "Re: Service Pack 6 for VB6"
- Previous message: Veign: "Re: Use a Shaped Recordset for a Data Report"
- In reply to: Nathan Perkins: "Re: VB6 Shell Question"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Jun 2004 15:28:08 -0700
Nathan Perkins <NPerkins@maxmo.net> wrote:
> That helps a lot, but I am still having some minor problems.
>
> I have decided to just write my program for 2000 and XP, so I can redirect
> stderr, but due to the complexity of my command, it doesn't execute.
>
> My shell command essentially ends up as:
>
> cmd.exe /c "C:\Software Projects\current\blah.exe" -x "C:\Documents and
> Settings\Nathan Perkins\My Documents\some text file.txt" > "C:\Software
> Projects\current\output.tmp" 2>&1
>
> In the end, a command window opens but that is it. I think that I need to
> escape certain characters. Any idea?
What's that 2>&1 at the end of that string? Usually pipes, not redirects, are used
if there's that much going on.
Anyway, maybe what you want to do is perfect the command in an interactive session,
then have your application write a temporary batch file and shell to that?
Later... Karl
-- [Microsoft Basic: 1976-2001, RIP]
- Next message: Jack Russell: "Re: Service Pack 6 for VB6"
- Previous message: Veign: "Re: Use a Shaped Recordset for a Data Report"
- In reply to: Nathan Perkins: "Re: VB6 Shell Question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|