在 Powershell 中的带引号的字符串中包含文字引号字符时,如何转义引号字符以指示它是文字而不是字符串分隔符?
我在 64 位 Windows 7 Professional 上使用 64 位 TortoiseSVN。每隔一段时间,检出或更新就会失败,并显示如下错误消息。
Error: Can't move
Error: '[...]\\.svn\tmp\entries'
Error: to
Error: '[...]\\.svn\entries':
Error: The file or directory is corrupted and unreadable.
Run Code Online (Sandbox Code Playgroud)
然后重启后运行CHKDSK,这让我很紧张。
为什么会发生这种情况或我如何避免它?