# How to quote special characters in run() function

**URL:** <https://discourse.julialang.org/t/how-to-quote-special-characters-in-run-function/21359>\
**Category:** General Usage\
**Created:** [March 1, 2019, 5:19pm UTC](https://discourse.julialang.org/t/how-to-quote-special-characters-in-run-function/21359 "2019-03-01T17:19:17Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![yoh-meyers](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yoh-meyers/32/14700_2.png) [@yoh-meyers](https://discourse.julialang.org/u/yoh-meyers)\
**Post date:** [August 12, 2020, 12:09pm UTC](https://discourse.julialang.org/t/how-to-quote-special-characters-in-run-function/21359/5 "2020-08-12T12:09:04Z")

</div>

Thank you for suggestion of using `pipeline` function to escape `>>`.  
**However, problem persists if trying to use `.` or `*` in main command, e.g: `attrib –r folder*.* /s`**

Having done some research:

- 
  1. As per [Can't run local command on Windows - #4 by pfack](https://discourse.julialang.org/t/cant-run-local-command-on-windows/2731/4), have also tried: `run(`powershell -Command "<command>"`) `, for error again.

- 
  1. Seems like if special chars are arguments of command, Julia’s inbuilt escaping will take care of issue. E.g: inbuilt `shell_escape` function.  
But if is part of main command (first parameter), escaping is not possible.

- 
  1. So even if wrapping `.` and `*` in quotation marks to snooze Julia REPL error, Windows PowerShell will complain about received input.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-quote-special-characters-in-run-function/21359)._
