Page 1 sur 1

EXECUTE instruction in Windows Environment

Publié : jeu. janv. 19, 2017 4:34 pm
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!

EXECUTE instruction in Windows Environment

Publié : mer. mai 31, 2017 11:15 am
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.