Jump to content

I am currently trying to write a batch file to not just delete your browser history from chrome but replace it with something "wholesome".  I know how I want my code to work but I am struggling with syntax issues.  I will attach my code and my error.  Some back story, the code should be run in a folder that also has two more folders, regular and wholesome.  If you choose to hide then the code will copy your history files to regular and copy the history files from the wholesome folder into chrome's default.  The restore option will simply move your original history files back.  The wholesome folder will have two files in there and they should be copied but never moved.  The folder regular should start empty until you hide, then could either be empty or not after you restore, it depends on how its implemented and I'm not sure whats best..

Doc1.docx

Link to comment
https://linustechtips.com/topic/748313-batch-file-noob/
Share on other sites

Link to post
Share on other sites

22 minutes ago, Sack said:

I suggest posting your code on stackoverflow or some other online repository instead of sharing a docx file that could literally contain anything... Just a tip

you can post code here too, stack over flow isn't the be all and end all to programming help. 

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/748313-batch-file-noob/#findComment-9475568
Share on other sites

Link to post
Share on other sites

1 hour ago, vorticalbox said:

you can post code here too, stack over flow isn't the be all and end all to programming help. 

To be clear I meant putting it up somewhere for easy viewing like stackoverflow instead of sharing a docx, I did not mean that you shouldn't ask for help here.

Link to comment
https://linustechtips.com/topic/748313-batch-file-noob/#findComment-9476009
Share on other sites

Link to post
Share on other sites

1 hour ago, Sack said:

To be clear I meant putting it up somewhere for easy viewing like stackoverflow instead of sharing a docx, I did not mean that you shouldn't ask for help here.

oh fair enough, code tags also works. 

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/748313-batch-file-noob/#findComment-9476324
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×