EXECUTE instruction in Windows Environment

Gonzalez
Messages : 5
Inscription : mer. janv. 18, 2017 9:07 am

EXECUTE instruction in Windows Environment

Message par Gonzalez »

Hi,
I'm new in Squash and I haven't understood how intructions work.

Are there any examples about that? For example, if I want to use EXECUTE command with COPY windows instruction, it's possible?

[code]TEST :
LOAD ../tests/file01.txt AS conv.file
LOAD $(../tests/file02.txt) AS conv2.file
EXECUTE copy WITH conv.file ON conv2.file USING $(remotepath : ../tests/file02.txt) AS final.file
[/code]

What is wrong here?

Thanks in advance!
Karim Drifi
Messages : 119
Inscription : lun. nov. 30, 2015 2:45 pm

EXECUTE instruction in Windows Environment

Message par Karim Drifi »

Hello,

You cannot use dos commands this way. You need to create a ".bat" script in your resources and use it as describeded in our wiki. See [url=https://sites.google.com/a/henix.fr/wik ... --commands]here[/url] for a full example.

Sincerely yours,

Karim Drifi.
Répondre

Revenir à « SKF »