🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4769

how pass argv to exec cde ?

#4769
From: capi
Date: Wed, 07 Feb 1996 23:35
16 lines
820 bytes
hello everybody
i hope that i am in the right group !

i want do start the edit.com program via a C file
the cde is c:\dos\edit.com
and the argument is the name of a file, for exemple zoo.asm

i've try the exec..(path, argv) cde with
path="c:\\dos\\edit.com" and
argv[0]="zoo.asm"
argv[1]=null

but when edit start i've got an error : incorrect file name (for edit)
where is the error ?
who could help me ?
many thanks for your reply
Technical Details
Message-ID: <4fbd0o$aj5@sunsic.si.univ-compiegne.fr>
Path: arc1-ca.pugleaf.net!kaa.hds.univ-compiegne.fr!capi

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!kaa.hds.univ-compiegne.fr!capi
From: capi@hds.univ-compiegne.fr ()
Newsgroups: comp.std.c
Subject: how pass argv to exec cde ?
Date: 7 Feb 1996 23:35:52 GMT
Organization: Universite de Technologie de Compiegne - France
Message-ID: <4fbd0o$aj5@sunsic.si.univ-compiegne.fr>
NNTP-Posting-Host: kaa.hds.univ-compiegne.fr
X-Newsreader: TIN [version 1.2 PL2]