67

7zFM.exe is the main file you want Technically this is the "File Manager", but I would generally describe this as the "7-zip application" Use this .exe if you want to open a .7z (or other) archive, explore it's contents, extract all or some files/folders Use 7zFM.exe when double-clicking a .7z file and Windows asks you to choose a ...


57

Original RAW images cannot be restored. Selecting JPEG instead of RAW saves space by sacrificing quality. This operation is irreversible and lossy. Simply speaking this means you can't go back. Sadly you may only select RAW format instead of JPEG next time before you shot. Note: You could technically find a way to turn the current jpg image into RAW format, ...


50

The error-msg refers to the commented out second line This is due to the very complex parsing that is used by cmd to process scripts. In short the parser processes % before pretty much everything else (phase 1) and throws an error as some of the %s need to be doubled as %% when used in a batch file. So in a batch file: for %%F in (*.pdf) do ren "%%~F&...


50

You can run the System File Checker tool (SFC.exe) which will repair missing or corrupted system files: Open PowerShell as administrator. Enter sfc /scannow. From Microsoft: The sfc /scannow command will scan all protected system files, and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache. The ...


30

"Raw" is not a well defined format. Examining Wikipedia Raw image format, I counted 43 raw formats, each depending on the camera model. One of the best image packages around is ImageMagick, available as a package on Linux or as a download, which supports a few RAW formats. Use its commands of magick or convert. However, the quality of the result ...


13

I want to create the command hello without having to create a file You can use doskey. Open a cmd shell Enter the following command: doskey hello=echo Hello world! Run the command: hello Example: F:\test>doskey hello=echo Hello world! F:\test>hello Hello world! F:\test> Further Reading doskey - Recall and edit commands at the DOS prompt, and ...


11

Piece of cake! Use a windows shortcut instead! It's easier and cleaner. You can use this same method on Linux (or mac) but you will need to put it into a script or alias it instead. I figured this out myself when I went down the same path. Create a shortcut to your zoom exe. It should be in %APPDATA%\Zoom\bin\Zoom.exe Open the shortcut properties and ...


11

It doesn't work because even though it is "remarked" it is evaluated for substitutions, and then apparently discarded. For "batch" your second line is incorrect and should read REM Rework 2020-12-16 REM for %%a in (*.txt) do ren "%%~a" "%%~na version 1%%~xa" for %%F in (*.pdf) do ren "%%~F" "%%~nF OdB%%~...


10

I didn't find a single tool for both the purpose, but I did find ways to use them. There are two ways to query DoH: # json curl -H 'accept: application/dns-json' 'https://cloudflare-dns.com/dns-query?name=example.com&type=A' | jq . # dns wireformat curl -H 'accept: application/dns-message' 'https://dns.google/dns-query?dns=...


10

For diff, unlike grep -Fvf, the order that lines appear matters. Also, since the -x option was not included in the grep command, lines with mere partial matches are excluded from the output. Reproducible example Consider these two files: $ cat foo 156 174 15676 17486 17487 $ cat bar 15677 15678 156 174 15676 The diff command shows they are different while ...


10

To add to the existing answers, although REM is used for comments, it is important to understand that it is actually a command that does nothing, not a comment. This is different from a Unix shell, where you have real comments and can add arbitrary text after a # character. Not only the substitutes are evaluated for the REM command, also file redirects. So ...


10

Difficulties and opportunity of trying to convert JPEG into RAW format. It is not always possible to convert a JPEG file to the original RAW file. Note: I speak about original or specific RAW format because it is not a standard: RAW formats are service formats, different one from another, used by the manufacturer to quickly save the contents of the CCD into ...


10

I struggle with your phrase "current cmd window" - not sure what you mean. In my mind you are combining two distinct concepts There is the console process - analogous to, but not quite the same as a terminal And there is the cmd.exe process that is executing within the console window Your command is crashing the cmd.exe process, and your console ...


8

The funny name is not Windows-specific – the same program has existed under the same name in many operating systems of the past. "Finger" is one of the earliest ARPAnet services (along with Telnet, FTP, SMTP &c). History of the Finger protocol RFC 742 containing a few usage examples from 1977 Invocation Your first problem is that the program ...


8

try running pip3 install --upgrade awscli or pip install --upgrade awscli


8

If it was not deleted too long ago, you can retrieve it from a windows restore snapshot. Open Explorer, go to the properties of the folder C:\Windows\System32 (via the right-click menu), and go to "Previous Versions", from which you can open any snapshot of that folder. Snapshots that were taken before a file was deleted would contain that file.


7

You can create an Environment variable, and then call it using %hello%


7

As requested in the comments, I'm posting this as an answer: There's a website called Winbindex that provides links for Windows 10 binaries. The links are to Microsoft servers, so you don't need to trust a third party service as long as you verify that the links lead to Microsoft servers (if you don't know what that means, I don't recommend to use the ...


6

PowerShell can print any file, using the same action as the Print verb defined for the file-type. The PowerShell command to use is Start-Process, and the idea is simply to invoke the file itself with the Print verb. The syntax is very simple: Start-Process "path-to-file" -Verb print I tested it with a PDF file, and the file printed correctly. A ...


5

2020 UPDATE: On Win10 just enable the linux subsystem then you'll have most of the linux stuff like vim and nano: c:> bash $: nano yourfile.txt


5

Try: inkscape --batch-process \ --verb "EditSelectAll;FitCanvasToSelection;FileSave;FileQuit" \ filename.svg Under Mac OS the following command line worked: inkscape -g --verb="FitCanvasToDrawing;FileSave;FileQuit" filename.svg Note that if I provide three different --verb option (which is recommended by the other answers), it didn'...


5

If you're on a Mac you can join a zoom meeting from the command line like so (e.g. for conference ID 1234): open "zoommtg://zoom.us/join?confno=1234" To make it handier you can add a shell function to your .bashrc or .zshrc: function zoom () { open "zoommtg://zoom.us/join?confno=$1" } Then you can just join a call using: zoom 1234


5

Run the Command Prompt and enter the following commands: cd /D "your folder" del /S /Q *.* This will list all the files as they are being deleted. To not see this, change the second command to: del /S /Q *.* >nul


5

You can use FOR /F to run the DIR command and surround the output with quotes: This is from the prompt for /f "delims=" %A in ('dir /b /od *.png') do @echo "%A" In a batch script, you would double the percent signs, so %A becomes %%A in both places.


5

From a command prompt, run dir /a:sh which lists our all files marked as system and hidden. Once you see the file in the list, set the attrib flags back. An alternative (thanks LPChip) is to enable Show hidden files, folders and drives from the below dialog, which you can get to from Windows Explorer > View > Options > Change folder and search ...


5

To execute as System use PsExec. The parameter to use is PsExec -s.


5

After checking the logs in /var/log/system.log file, I found that atrun service was failing with exit code 1. Jan 3 23:29:47 com.apple.xpc.launchd[1] (com.apple.atrun[37853]): Service exited with abnormal code: 1 I had to provide full disk access to /usr/libexec/atrun daemon as mentioned here, to make the daemon run without errors.


5

You have "" in your path. They should not be added. Try set path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps; Also, why not ...


5

The below PowerShell will list the the full path name of any .mp3 files that do not have any matching .lrc files in the same directory with the same base file name. Just change the $pth = to be the full path to the starting folder which the .mp3 files reside. This solution will recursively traverse the $pth folder for all .mp3 files in any subfolders too. ...


5

It's much easier to use PowerShell instead of the legacy cmd Get-ChildItem -Directory -Recurse | Rename-Item -NewName { $_.Name.ToLower() } -WhatIf Shorter version ls -Di -R | ren -Ne { $_.Name.ToLower() } -wi It'll rename all subfolders of the current folder to lowercase After confirming the new names are correct then remove -WhatIf / -wi to do real ...


Only top voted, non community-wiki answers of a minimum length are eligible