- May
- 13,402
- 190
How does it work? What are the rules?
If I COPY a text file to CLIPn: it works. That is, the content of the file becomes the content of CLIPn:.
If I try to COPY something else (e.g., a JPG), it seems OK (though the target name is wrong in COPY's confirmation message).
But there's not really a copy of the file in CLIP1:.
That is, in fact, the first 4 bytes of the file; the fifth byte of the file is 0.
If I COPY a text file to CLIPn: it works. That is, the content of the file becomes the content of CLIPn:.
If I try to COPY something else (e.g., a JPG), it seems OK (though the target name is wrong in COPY's confirmation message).
Code:
v:\> copy callstack.jpg clip1:
V:\callstack.jpg => clip: <==== target name?
1 file copied
But there's not really a copy of the file in CLIP1:.
Code:
v:\> clip | head /n4
CLIP0: v:\> copy callstack.jpg clip1:
V:\callstack.jpg => clip:
1 file copied
CLIP1: ÿØÿà
v:\> echo %@clip[0,1]
ÿØÿà
v:\> echo %@clip[1,1]
**EOC**
That is, in fact, the first 4 bytes of the file; the fifth byte of the file is 0.