title: Moving file to Recycle Bin
body: <p>I'm trying to move file to recycle bin using shutil library. Following is relevant code lines, but I get kinda strange error. Both files are local, and I can access both locations on my PC. Why this error occurs? Because I run Main.py it from F:?</p>
  <pre><code>import shutil
  # Path to folder where files should be trashed
  dump_folder = r&quot;C:\$Recycle.Bin\\&quot;
  file_name = &quot;C:\\Storage\\\\statuti.docx&quot;
  
  # Move it to storage directory
  shutil.move(file_name, dump_folder)
  </code></pre>
  <p>Error message</p>
  <p>F:\Python\Project\venv\Scripts\python.exe &quot;C:\Program Files\JetBrains\PyCharm Community Edition 2020.1\plugins\python-ce\helpers\pydev\pydevd.py&quot; --multiproc --qt-support=auto --client 127.0.0.1 --port 54648 --file F:\Python\Main.py
  Connected to pydev debugger (build 203.5981.165)
  Traceback (most recent call last):
  File &quot;C:\Users\User\AppData\Local\Programs\Python\Python38\lib\shutil.py&quot;, line 788, in move
  os.rename(src, real_dst)
  PermissionError: [WinError 5] Access is denied: 'C:\Storage\\statuti.docx' -&gt; 'C:\Recycle.Bin\\'</p>
  <p>During handling of the above exception, another exception occurred:</p>
  <p>Traceback (most recent call last):
  File &quot;C:\Users\User\AppData\Local\Programs\Python\Python38\lib\shutil.py&quot;, line 261, in copyfile
  with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
  OSError: [Errno 22] Invalid argument: 'C:\Recycle.Bin\\'</p>