I want to routinely backup Chrome bookmarks to some folder; I want to simplify it by using a batch file.
If I manually go to C:\Users\Joe\AppData\Local\Google\Chrome\User Data\Default\bookmarks,
click on it, select COPY, open the destination, and click on PASTE in its context menu, I have success.
But if I run a batch file with the following code :
copy C:\Users\Joe\AppData\Local\Google\Chrome\User Data\Default\bookmarks C:\Data\Chrome, [where C:\Data\Chrome is the desired destination] it does NOT work.
WHY NOT ? - or more importantly - HOW can I make it work ?
What is the magic code ?
Moderator: DosItHelp
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: What is the magic code ?
User Data contains a space, so you need to wrap the path in quotes.
Code: Select all
copy "C:\Users\Joe\AppData\Local\Google\Chrome\User Data\Default\bookmarks" C:\Data\Chrome
-
- Posts: 34
- Joined: 17 Feb 2017 02:28
Re: What is the magic code ?
That solved it - THANK you.