# Julia Portable Mode o Standalone

**URL:** <https://discourse.julialang.org/t/julia-portable-mode-o-standalone/44913>\
**Category:** New to Julia\
**Created:** [August 14, 2020, 6:18am UTC](https://discourse.julialang.org/t/julia-portable-mode-o-standalone/44913 "2020-08-14T06:18:28Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [August 18, 2020, 7:54am UTC](https://discourse.julialang.org/t/julia-portable-mode-o-standalone/44913/7 "2020-08-18T07:54:01Z")

</div>

The final batch file is as follows, thanks to the answer of [Przemyslaw Szufel](https://stackoverflow.com/a/63421115/8409550) and the [link](https://discourse.julialang.org/t/where-or-how-to-edit-depot-path/13501/15):

```julia
@echo off
set myDIR=%~d2\SA_Ptbls\julia-1.5.0-win64
if not exist %myDIR% (mkdir %myDIR%)
set PATH=%~d2\SA_Ptbls\julia-1.5.0-win64\julia-1.5.0\bin;%PATH%
set JULIA_DEPOT_PATH=%~d2\SA_Ptbls\julia-1.5.0-win64
julia

```

When executing the batch file, we obtain:

 ![Julia_PortableOk](https://global.discourse-cdn.com/julialang/original/3X/e/2/e2590b9145336a683b756c6baa083b5c58470ee2.jpeg)  
the batch file can be run from a shortcut, after being configured as shown:  
 ![ShortcutJuliaOk](https://global.discourse-cdn.com/julialang/original/3X/3/8/38472143771e61ac1dc2d256712d194a7a455797.jpeg)

---

_[View the full topic](https://discourse.julialang.org/t/julia-portable-mode-o-standalone/44913)._
