**How do I declare a global variable in a batch script?**

Example:

*Test1.bat:*

```
set testvar=C:\Windows
echo %testvar%

```

Now I should be able to use this testvar in other batch script (test2.bat)

*Test2.bat:*

```
echo %testvar%

```

Thanks and Regards!