Old-fashioned, but I still use batchfiles to automate tasks on my computer. One of them is a backup mirroring script, using the robocopy command. Recently I wanted to add a folder from C:\Program Files\appname\ to the backup, so I added the following line to the backup-script:
Robocopy "C:\Program Files\appname\" "\\SERVER\Backup\LAPTOP\appname\" /MIR /XJD /R:8 /W:15 /MT:32 /BYTES /V /NP /LOG:log-LAPTOP-appname.log
However this did not work, what’s the problem? Who knows… but the solution is to add a space before the closing end-quote. So just use:
Robocopy "C:\Program Files\appname\ " "\\SERVER\Backup\LAPTOP\appname\ " /MIR /XJD /R:8 /W:15 /MT:32 /BYTES /V /NP /LOG:log-LAPTOP-appname.log
On another note, check this, and use (also note the * and not *.* !!!):
"C:\Program Files\7-Zip\7z.exe" u -r -up0q3r2x2y2z1w2 -mx=0 -password Z:\somefile.zip "C:\Somefolder\*"
That’s all folks!
Have a nice day…
Same problem as this one?
” under Windows 10 I could drag & drop any file (e.g. docx or xlsx) to the Word/Excel icon, which is pinned on my taskbar. When righ-clicking on the Excel icon, I could see my pinned Excel files. Same with Word: I saw all my pinned documents. Windows 11 doesn’t let me drag & drop files to the pinned Microsoft App in the taskbar anymore. Please note, it is not about pinning the Excel app to my taskbar or pinning a document as an app to the taskbar: it is about pinning a DOCUMENT to the pinned Mircosoft app. “
Continue reading Pin document to taskbar in Windows 11
You have it on your phone, You want it also on your PC.
Go to the microsoft website
Login with the same Microsoft account as on your PC.
Now GET and go to Microsoft Store App on your PC…. Install.
And if it does not work… read this:
– Download the appx
– Run the update on Microsoft Store!
– Sign into the Samsung cloud (same as your phone)
…and see your notes appear
Have a nice day!
Client with a question:
Windows file explorer,
on document do a right-click,
select Send to – Mail recipient
…. and this opens Windows Live Mail instead of the default Outlook.
Continue reading Send To Outlook
You would suspect Windows-Settings-Apps-Default Apps to be set incorrectly, but this was not the case.
Thank you visual studio with your strange default settings, causing the error/warning all throughout my code: “IDE1006 Naming rule violation: These words must begin with upper case characters”.
Go Google, find this, and solve it actually like so:
- By going to Tools > Options… > Text Editor > Basic > Code Style > Naming
- Click ‘Manage Naming Styles’, add new style ‘camelCase’ (or whatever else you require), and save.
- Set the Required Styles to camelCase and save by clicking OK
- Thank You Microsoft!
Have a nice day!