Skip to content

Instantly share code, notes, and snippets.

@zhangyuan
Created December 7, 2016 05:23
Show Gist options
  • Select an option

  • Save zhangyuan/d41a71bca0fc11cc44f77ea864711bd9 to your computer and use it in GitHub Desktop.

Select an option

Save zhangyuan/d41a71bca0fc11cc44f77ea864711bd9 to your computer and use it in GitHub Desktop.
remove directory regardless of the long path.
cmd /c "rmdir /S /Q \\remote_hostname_or_ip\c$\target_directory"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment