# Shell escaping

**URL:** <https://discourse.julialang.org/t/shell-escaping/28087>\
**Category:** General Usage\
**Tags:** question, cmd\
**Created:** [August 28, 2019, 7:54am UTC](https://discourse.julialang.org/t/shell-escaping/28087 "2019-08-28T07:54:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phlavenk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/phlavenk/32/1873_2.png) [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Post date:** [August 28, 2019, 7:54am UTC](https://discourse.julialang.org/t/shell-escaping/28087/1 "2019-08-28T07:54:36Z")

</div>

How to run a command with `*` without getting warning about command misuse?

```julia
run(`attrib -r $projectworkdir\\*.* /s`) #clearing readonly attribs
┌ Warning: special characters "#{}()[]<>|&*?~;" should now be quoted in commands
│ caller = #shell_parse#351(::String, ::Function, ::String, ::Bool) at shell.jl:100
└ @ Base .\shell.jl:100
Process(`attrib -r 'C:/Users/PETR~1.HLA/AppData/Local/Temp/EodTestProject_43530\*.*' /s`, ProcessExited(0))

```

This is only to clear the read-only attribute.

Julia 1.1, win10 x64

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [August 28, 2019, 8:35am UTC](https://discourse.julialang.org/t/shell-escaping/28087/2 "2019-08-28T08:35:13Z")

</div>

Could you try

```julia
run(`attrib -r $projectworkdir"*.*" /s`)

```
