<EXEC> and paths

Post Reply
Mr. Bigglesworth
Posts: 56
Joined: Fri Feb 16, 2001 6:54 pm

<EXEC> and paths

Post 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?
User avatar
mark
Site Admin
Posts: 5514
Joined: Tue Apr 25, 2000 6:56 pm

<EXEC> and paths

Post by mark »

Try c:\winnt\system32\cmd.exe
Post Reply