# Equivalent command to source setup1.sh on Windows command line

**URL:** <https://root-forum.cern.ch/t/equivalent-command-to-source-setup1-sh-on-windows-command-line/36215>\
**Category:** Newbie\
**Created:** [October 3, 2019, 3:07pm UTC](https://root-forum.cern.ch/t/equivalent-command-to-source-setup1-sh-on-windows-command-line/36215 "2019-10-03T15:07:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TaeNyFan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/taenyfan/32/19890_2.png) [@TaeNyFan](https://root-forum.cern.ch/u/TaeNyFan)\
**Post date:** [October 3, 2019, 3:07pm UTC](https://root-forum.cern.ch/t/equivalent-command-to-source-setup1-sh-on-windows-command-line/36215/1 "2019-10-03T15:07:06Z")

</div>

I had been using a school linux computer to do a ATLAS project using root.

Before I opened any root file, I was instructed to perfom the commands

> ssh -X -Y [username@pc2013.hep.manchester.ac.uk](mailto:username@pc2013.hep.manchester.ac.uk)  
> source setup1.sh

I would like to be able to do this ATLAS project on my own Windows compter.

I had downloaded the setup1.sh file from the school computer onto my own.  
What is the equivalent command to

> source setup1.sh

in Windows command line?  
Thanks!

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [October 3, 2019, 3:14pm UTC](https://root-forum.cern.ch/t/equivalent-command-to-source-setup1-sh-on-windows-command-line/36215/2 "2019-10-03T15:14:13Z")

</div>

Hi,

On Windows, the shell scripts are called batch scripts, and you cannot run the same commands than in shell scripts. They have to be converted, which could be quite complex, depending on what is executed in the script…  
The equivalent would be:

```auto
setup1.bat

```

And BTW, FYI, the Atlas Software doesn’t run on Windows

Cheers, Bertrand.

---

<div class="post-metadata">

**Author:** ![TaeNyFan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/taenyfan/32/19890_2.png) [@TaeNyFan](https://root-forum.cern.ch/u/TaeNyFan)\
**Post date:** [October 3, 2019, 3:45pm UTC](https://root-forum.cern.ch/t/equivalent-command-to-source-setup1-sh-on-windows-command-line/36215/3 "2019-10-03T15:45:26Z")

</div>

Thank you for the reply.
