We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
ppan
3 years agoExplorer | Level 3
Error when trying to exclude a file using PowerShell (on Windows 7)
I am trying to exclude a file from syncing following the instructions here: https://help.dropbox.com/sync/ignored-files using the PowerShell command: Set-Content -Path 'Set-Content -Path 'D:\Dropb...
ppan
3 years agoExplorer | Level 3
Yes, you can send me an Email.
However, did you try it yourself using PowerShell?
You can just use the path to any file in the local dropbox.
For example, I tried this simpler path and I get the same error:
Set-Content -Path 'D:\Dropbox\TEST\options.ini' -Stream com.dropbox.ignored -Value 1
Hannah
Dropbox Community Moderator
3 years agoNo worries, I just sent you an email, so we'll investigate this further.
When you have a moment, please reply back to me.
Thanks!
- ppan3 years agoExplorer | Level 3
The E-mails to my forum E-mail address are forwarded to another E-mail address.
I responded from that E-mail address.
Did you test PowerShell yourself, e.g. using:Set-Content -Path 'D:\Dropbox\TEST\options.ini' -Stream com.dropbox.ignored -Value 1?
EDIT: I have been using Windows 7 (64 bit). I just tried it on a Windows 10 PC and I didn't get the error.
However, Dropbox then deleted the file (options.ini)!
That is not what I had expected. I just wanted to exclude the file from syncing!?
About Apps and Installations
Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!