Article View: borland.public.delphi.nativeapi
Article #94Re: CreateProcess(nil, ReturnCode.Exe...parms...)
From: Nelson F.
Date: Thu, 22 Jan 2004 18:54
Date: Thu, 22 Jan 2004 18:54
13 lines
1903 bytes
1903 bytes
"MοΏ½rio Reis" <m.reis@bca.pt> wrote in message news:40100b27@newsgroups.borland.com... > However here goes a small idea of what i need to do. > > In a MS-DOS windows this linecmd: 'cusrmgr -u Administrator -m > \\10.31.17.069 -P >>bcaXpTy<<'; returns a > *** ERROR *** RC:0x0035... *** ERROR *** RC:0x0037 etc... > In my progrma Not sure if this is related but the >> usually indicates for the console app to redirect it's output. Do you get an error when the password is something simple like "password"? If so, you might be able to enclose the password in quotes to have the console app ignore the >> as a redirection parameter.
Technical Details
Message-ID:
<40101c6a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!nx02.iad01.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!t-online.de!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<400bf35d$1@newsgroups.borland.com> <VA.0000a8b8.004f4ce8@nomail.please> <400c2fbd$1@newsgroups.borland.com> <400c3a38$1@newsgroups.borland.com> <40100b27@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f94dd,20f4094e096ad01b X-Google-Attributes: gidf94dd,public X-Google-ArrivalTime: 2004-01-22 11:05:39 PST Reply-To: "Nelson F." <nospam> From: "Nelson F." <nbospam> Newsgroups: borland.public.delphi.nativeapi References: <400bf35d$1@newsgroups.borland.com> <VA.0000a8b8.004f4ce8@nomail.please> <400c2fbd$1@newsgroups.borland.com> <400c3a38$1@newsgroups.borland.com> <40100b27@newsgroups.borland.com> Subject: Re: CreateProcess(nil, ReturnCode.Exe...parms...) Date: Thu, 22 Jan 2004 10:54:34 -0800 Lines: 15 Organization: BFC X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 216.36.81.242 Message-ID: <40101c6a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1074797674 216.36.81.242 (22 Jan 2004 10:54:34 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!nx02.iad01.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!t-online.de!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail