Page 1 of 1

<EXEC> and paths

Posted: Thu Apr 26, 2001 12:52 pm
by Mr. Bigglesworth
I've got a script like this:

<script language=vortex>

<a name=main>

<EXEC c:\winnt\system32\cmd /c copy \\myserver\database\admin\tblEditUsers.tbl f:\database\admin>
</EXEC>

</a>

</script>


But when I run the script, I get this error:

<!-- 002 e:\yourscript:5: Can't exec `c:\winnt\system32\cmd': No such file or director
y in the function doexec -->

It looks like <EXEC> can't find cmd.exe, but it is definitely located in c:\winnt\system32. Is there some sort of $path variable I need to set for EXEC to find the commands I'm looking for, possibly?

<EXEC> and paths

Posted: Thu Apr 26, 2001 1:00 pm
by mark
Try c:\winnt\system32\cmd.exe