I would like to create a script, whatever language, which can create me 3 folders (Desktop, Documents, Pictures) in my dropbox folder .
And then, change the location of the user shell folders to me mapped to those ones.
I have no skills at all but tried to write a bat like this :
@echo off cd %homepath%\Dropbox (company) md Documents Pictures Desktop REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v My Pictures /t REG_EXPAND_SZ /d "%HOMEPATH%\Dropbox (company)\Pictures" /f
Folder creation is OK but the mapping part does not work and i get an "error syntax" during the process.
When changing folder location manually i get the right value in the registry :
If someone understand my explanations and could give me help, this would be really appreciated
Totally agree with what @Jay said, but, could you try changing My Pictures to "My Pictures" , so that the " " makes it a single string
- - - -
Did this post help you? If so please mark it for some Kudos below.
Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.
Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible!
Thanks you for the answers guys
What would you recommend then ?
Basically our need is to have those 3 user folders "DropBoxed" . So that user datas will benefit backup, sync, sharing ...
I confess i am a bit lost concerning the best folder architecture to set ...
You were right , i do not get that "syntax error" message anymore
But i have to figure out the best choice before to script now ....
I really appreciate your help guys, thank you so much.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.Sound good? Let's get started.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!