Search found 190 matches

by Simon Sheppard
2022-Mar-30, 10:37 am
Forum: Windows CMD Shell
Topic: Robocopy /IM
Replies: 2
Views: 3229

Robocopy /IM

I updated the robocopy page yesterday to add the /IM and /COMPRESS options /IM (include modified) has the help text " include modified files (differing change times) " which doesn't make sense as copying files with a different last modified time or file size is the default action of Roboco...
by Simon Sheppard
2022-Mar-26, 11:50 am
Forum: Windows CMD Shell
Topic: SLEEP command problem
Replies: 1
Views: 3009

Re: SLEEP command problem

Sleep is a Resource Kit tool, which is given at the top of the page . If you don't have the relevant resource kit installed it is not going to be available, but some alternatives are also listed. Also notice that when a command is listed with its file extension Sleep.EXE rather than just Sleep, that...
by Simon Sheppard
2022-Mar-07, 6:12 pm
Forum: Windows CMD Shell
Topic: Disabled Extensions
Replies: 1
Views: 2085

Re: Disabled Extensions

Thanks npocmaka I have made a few updates and added a link to the StackOverflow question.
by Simon Sheppard
2022-Mar-02, 10:14 am
Forum: General Tech News, Notes and Queries
Topic: Microsoft volunteering into cyberdefense of Ukraine via the New York Times
Replies: 0
Views: 21082

Microsoft volunteering into cyberdefense of Ukraine via the New York Times

Within three hours, Microsoft threw itself into the middle of a ground war in Europe — from 5,500 miles away. The threat center, north of Seattle, had been on high alert, and it quickly picked apart the malware, named it “FoxBlade” and notified Ukraine’s top cyberdefense authority. Within three hou...
by Simon Sheppard
2022-Feb-26, 3:52 pm
Forum: Windows PowerShell
Topic: Get-ItemProperty: toggle 0 to 1 or 1 to 0
Replies: 3
Views: 13969

Re: Get-ItemProperty: toggle 0 to 1 or 1 to 0

you dont need those brackets within the set-itemproperty parameters

See the syntax here
https://ss64.com/ps/set-itemproperty.html
by Simon Sheppard
2022-Feb-26, 11:13 am
Forum: Windows PowerShell
Topic: Get-ItemProperty: toggle 0 to 1 or 1 to 0
Replies: 3
Views: 13969

Re: Get-ItemProperty: toggle 0 to 1 or 1 to 0

In your set-ItemProperty, you need to give it the -path where you want to set the value.
by Simon Sheppard
2022-Feb-23, 5:38 pm
Forum: Windows CMD Shell
Topic: Sophos agent restart/reload policies
Replies: 0
Views: 10504

Sophos agent restart/reload policies

Just dropping this here in case it is useful to someone. If you have a Sophos client that is failing to pick up policy changes, this will give it a kick. After restarting it may take 10 minutes or so for the new policy to refresh fully. It has to be run 'As Admin'. @echo off :: run this as administr...
by Simon Sheppard
2022-Feb-11, 5:42 pm
Forum: Windows CMD Shell
Topic: DELTREE is NOT a command!
Replies: 3
Views: 2801

Re: DELTREE is NOT a command!

Hi Aacini I have just updated the link. That should have been going to the deltree page here https://ss64.com/nt/deltree.html Arguably it should be categorised under the How-to pages rather than in the main A-Z + categorized list but the reason I created that page is that there were SO MANY searches...
by Simon Sheppard
2022-Feb-05, 5:11 pm
Forum: Windows CMD Shell
Topic: How to read a file in UTF-8 and remove a BOM in batch script?
Replies: 1
Views: 7885

Re: How to read a file in UTF-8 and remove a BOM in batch script?

Some answers to this here If you're using PowerShell [Core] version 6 or higher, you get BOM-less UTF-8 files by default https://stackoverflow.com/questions/40098771/changing-powershells-default-output-encoding-to-utf-8/40098904#40098904 PowerShell is much better suited to the task of dealing with e...
by Simon Sheppard
2022-Feb-02, 6:03 pm
Forum: Linux & macOS Bash
Topic: Wordle in 50 lines of Bash
Replies: 0
Views: 21076

Wordle in 50 lines of Bash

For the uninitiated, Wordle presents the player with a daily puzzle in which a five-letter word must be guessed with hints regarding correct letters in the correct (or incorrect) places.

https://gist.github.com/huytd/6a1a6a7b3 ... 47e3d01513