I would like to copy a file in LID.
HELP COPY | LASHOW reveals the syntax is the same as Windows:
Standard Input Line:1 Pct:0% Copies one or more files to another location.
COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/L] [/A | /B ] source [/A | /B] [+ source [/A | /B] [+ ...]] [destination [/A | /B]]
Yet a simple instance of the command doesn't work. I know I have rights to this file, because I put it there via a Windows file share. Trying just the file names, then fully qualified paths, the command (or perhaps the input file) isn't found:
d:\lawprod\law\eugene\vbs> copy histcopy.wsf test.txt copy histcopy.wsf test.txt: Not Found d:\lawprod\law\eugene\vbs> ≤eugene\vbs\histcopy.wsf d:\lawprod\law\eugene\vbs\≥ copy d:\lawprod\law\eugene\vbs\histcopy.wsf d:\lawprod\law\eugene\vbs\test.txt: Not Found
There's no info on file copies in System Utilities Reference Guide, LID Getting Started, etc.
So how does one copy a file in LID? This should be so simple.
Click... [Sound of penny dropping].
Thanks Eric, your response made me realize I have to use a Unix cp command to copy a file.
Yet at the same LID command line where I use the Unix cp command, the HELP command shows the Windows COPY command syntax.
Any guidelines on when to use Windows vs. Unix syntax? E.g., I have Windows command files that run from tokens that use the COPY command.