| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Moving a file |
* Copied (from: C_ECHO) by Glenn Mehesy using timEd/2 1.01.
Hello ALL!
Being a newbie to programming, especially C, I need to find a way to move
a file from one subdirectory to another and also across drives whether it
is a logical or primary drive. I'm using Watcom C/C++ 10.0a under OS/2 3.0
and have a book that documents the API calls available in the OS/2 kernel
and I see in the API that there is a Dosmove and a Doscopy but I see no
reference in the Watcom online Docs about using either of these API calls.
The book I mentioned has a code segment but Watcom does not like alot of
the variable types and also Watcom could not find a prototype for dosmove.
The types look like a short hand for unsigned characters (UCHAR), I think
this book was written using the syntax for IBM's Cset/2 compiler, but the
prototype has me lost Anybody have any tips or possable an example code
segment available?
Glenn
FidoNet 1:107/677.0 ibmNET 40:4371/677.0 OS2net 81:135/14.0
--- timEd/2 1.01
* Origin: The Nut House OS/2 Hayes 28.8 V34 (908)324-2617 (1:107/677)SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 107/677 696 411 270/101 105/103 42 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.