Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Less is more or less more -- Y_Plentyn on #LinuxGER


devel / comp.lang.xharbour / write a string in cmd prompt

SubjectAuthor
* write a string in cmd promptMarco Boschi
`- Re: write a string in cmd promptdlzc

1
write a string in cmd prompt

<51a4a359-d96c-4903-97c6-711ad98fbce8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17323&group=comp.lang.xharbour#17323

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ad4:5510:0:b0:5a1:41ce:91f0 with SMTP id pz16-20020ad45510000000b005a141ce91f0mr521044qvb.2.1680786640710;
Thu, 06 Apr 2023 06:10:40 -0700 (PDT)
X-Received: by 2002:a05:6808:1787:b0:384:6d14:c707 with SMTP id
bg7-20020a056808178700b003846d14c707mr2746293oib.5.1680786640299; Thu, 06 Apr
2023 06:10:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 6 Apr 2023 06:10:40 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=185.55.90.130; posting-account=_oyAawkAAAAkDmcMkD9UQrwxJqiaol5l
NNTP-Posting-Host: 185.55.90.130
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <51a4a359-d96c-4903-97c6-711ad98fbce8n@googlegroups.com>
Subject: write a string in cmd prompt
From: info@marcoboschi.it (Marco Boschi)
Injection-Date: Thu, 06 Apr 2023 13:10:40 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1347
 by: Marco Boschi - Thu, 6 Apr 2023 13:10 UTC

Hi,
how can I, at the end of the execution of my console program, to prepare in the cmd prompt a command such as "dir a*.exe /OD" or RIND.EXE customer that I can confirm by Return key, modify or cancel?
I launch
c:\hse>select.exe
I select a file when select.exe ends its execution i will find in cmd prompt this
c:\hse>rind.exe customer
Many thanks to all

Re: write a string in cmd prompt

<fc4503fb-d343-420d-80aa-eaa83b454729n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17326&group=comp.lang.xharbour#17326

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:58cb:0:b0:3de:1720:b550 with SMTP id u11-20020ac858cb000000b003de1720b550mr2440262qta.3.1680797557490;
Thu, 06 Apr 2023 09:12:37 -0700 (PDT)
X-Received: by 2002:a05:6820:216:b0:52e:17e2:7d4c with SMTP id
bw22-20020a056820021600b0052e17e27d4cmr24981oob.1.1680797556905; Thu, 06 Apr
2023 09:12:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 6 Apr 2023 09:12:36 -0700 (PDT)
In-Reply-To: <51a4a359-d96c-4903-97c6-711ad98fbce8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=68.107.209.13; posting-account=7bF0GwoAAABMFHX6V4fON4-1F6LFJ834
NNTP-Posting-Host: 68.107.209.13
References: <51a4a359-d96c-4903-97c6-711ad98fbce8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fc4503fb-d343-420d-80aa-eaa83b454729n@googlegroups.com>
Subject: Re: write a string in cmd prompt
From: dlzc1@cox.net (dlzc)
Injection-Date: Thu, 06 Apr 2023 16:12:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: dlzc - Thu, 6 Apr 2023 16:12 UTC

On Thursday, April 6, 2023 at 6:10:41 AM UTC-7, Marco Boschi wrote:
> Hi,
> how can I, at the end of the execution of my console program, to prepare in the cmd prompt a command such as "dir a*.exe /OD" or RIND.EXE customer that I can confirm by Return key, modify or cancel?
> I launch
> c:\hse>select.exe
> I select a file when select.exe ends its execution i will find in cmd prompt this
> c:\hse>rind.exe customer
> Many thanks to all

How about making that a menu choice at the end of SELECT.EXE, whether to end or call up RIND.EXE?

You might try stuffing the characters in the keyboard buffer, letting them supply the <Enter>
https://www.itlnet.net/programming/program/Reference/tools1-3/ngc1397.html
.... pretty sure Clipper Tools was implemented by default. Note 15 character maximum.

But I am afraid the your program will terminate, and the keystrokes will be consumed by either CMD.exe or the Windows interface.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor