The files might be visible only to the admin user. Right-click on it and
inspect the permissions. Add the Arthur user as necessary.

On Fri, 27 Dec 2019, 04:33 John W, <jw79...@gmail.com> wrote:

> Hi
> I have two account on Windows 10 pro named Admin(it's admin account)  and
> Arthur (normal user)
> Ant works only on Admin account. On Arthur account cmd.exe doesn't
> recognize Ant.bat
> I' ve installed Ant and JDK 13 on Arthur account and double
> checked environments variables like
> ANT_HOME and JAVA_HOME and ANT_HOME\bin
> no misspelling found.
>
> In summary :
> User Variables for Arthur
> ANT_HOME    C:\Ant\apache-ant-1.10.7
> JAVA_HOME   C:\Program Files\Java\jdk-13.0.1
> Path                 ANT_HOME\bin
>
> User Variables for Admin
> ANT_HOME    C:\Ant\apache-ant-1.10.7
> JAVA_HOME   C:\Program Files\Java\jdk-13.0.1
> Path                 ANT_HOME\bin
>
> cmd.exe recognizes Ant.bat only on Admin account OR If I run as Admin the
> cmd of the
> Arthur ( normal user account) ant work
> Been at it for two days , Can you help me please?
> Thank all
>

Reply via email to