[Coco] How to import source code into NitrOS-9?
Stephen Pereira
spereira1952 at comcast.net
Sun Oct 4 17:26:05 EDT 2015
I’ve spent some time today attempting to use the Drivewire commands…
From the command line in NitrOS-9, if I attempt the command:
dw server list d:\filename.ext >/d1/filename.ext
First I get: ERROR #221
I see that means module not found, so I tried LOAD DW, but I still get ERROR #221 after that.
So, I went onto my PC running the DW Server. In the UI input line, I type in the same command.
Here I get: ERROR 201: Could not read from “file:///d:/filename.ext <file:///d:/filename.ext> >d1/filename.ext" because it is not a file.
On my PC in the DW input line I can issue the command dw server dir d: and I get the directory of my drive D: so I know that something works…
Anyway, is this enough information for someone to advise me on what I am doing wrong?
Thanks very much for listening.
smp
--
Stephen M. Pereira
Bedford, NH 03110
KB1SXE
> On Oct 3, 2015, at 8:58 PM, K. Pruitt <pruittk at roadrunner.com> wrote:
>
>
> ----- Original Message ----- From: "Stephen Pereira" <spereira1952 at comcast.net>
> To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
> Sent: Saturday, October 03, 2015 4:21 PM
> Subject: Re: [Coco] How to import source code into NitrOS-9?
>
>
> <…snip…>
> Hi Stephen.
>
> The DW commands are issued from the NitrOS-9 command prompt on the CoCo. The dw commands themselves are located in the CMDS directory of your NitroOS-9 disk.
>
> The working directory is just whatever directory you currently have set as the working directory. You can send the file to any directory you want. The way I showed is just the shortest way as it just copied the file to the directory I was in when issuing the command. You can just ignore the entire mention of the default directory.
>
> Let's say you have a directory called SOURCE on the coco on drive /D1, and you wanted to copy a file from a directory called C:\Source on your PC to that directory.
>
> You would type:
>
> dw server list c:\source\filename.asm >/d1/source/filename.asm
>
> Everything before the > and after the list command is the source path, everything after the > is the destination path.
>
> But if I typed:
>
> dw server list c:\source\filename.asm >filename.asm
>
> it would copy the file from the PC to whatever directory I happened to be in on the CoCo when I typed the command as I am not providing a pathname to a different destination drive and directory.
>
> Hopefully this help clarify it a little bit.
>
More information about the Coco
mailing list