User Tools

Site Tools


software:microsoft:windows:commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:microsoft:windows:commands [2016/05/28 22:26] superwizardsoftware:microsoft:windows:commands [2024/03/09 21:11] (current) – [Windows command line continue line with ^ () or use variables] superwizard
Line 1: Line 1:
 +====== Windows command line continue line with ^ () or use variables ======
 +
 +<WRAP center round box >
 +
 +2024-03-09
 +
 +
 +Multiple commands can be put in parenthesis and spread over numerous lines; so something like echo hi && echo hello can be put like this:
 +
 +  ( echo hi
 +    echo hello )
 +
 +Also variables can help:
 +
 +  set AFILEPATH="C:\SOME\LONG\PATH\TO\A\FILE"
 +  if exist %AFILEPATH% (
 +    start "" /b %AFILEPATH% -option C:\PATH\TO\SETTING...
 +  ) else (
 +  ..
 +
 +https://stackoverflow.com/questions/69068/split-long-commands-in-multiple-lines-through-windows-batch-file/21000752#21000752
 +
 +
 +</WRAP>
 +
 +
 +
 +
 +====== Scanner and Camera Wizard ======
 +
 +From: https://answers.microsoft.com/en-us/windows/forum/windows_xp-pictures/launching-windows-scanner-and-camera-wizard/ff02de3a-9718-4ec9-a703-879dc6eb1ffb
 +
 +<code>
 +The executable for the Scanner and Camera Wizard is:
 +
 +   wiaacmgr.exe
 +
 +C:\Windows\System32\wiaacmgr.exe
 +
 +</code>
 +
 +====== Change lock screen timeout ======
 +
 +From: http://www.windowscentral.com/how-extend-lock-screen-timeout-display-turn-windows-10
 +
 +<code>
 +While the Lock screen provides useful information and beautiful pictures, you probably noticed that your computer's display turns off after 60 seconds when you lock your Windows 10 account. This happens even if you change the power options to never turn off the monitor or never put the computer to sleep.
 +</code>
 +
 +====== Fix Windows Update errors by using the DISM or System Update Readiness tool ======
 +
 +
 +From: https://support.microsoft.com/en-us/help/947821/fix-windows-update-errors-by-using-the-dism-or-system-update-readiness-tool
 +
 +<code>
 +Windows updates and service packs may fail to install if there are corruption errors. For example, 
 +an update might not install if a system file is damaged. The DISM or System Update Readiness tool 
 +may help you to fix some Windows corruption errors.
 +</code>
 +
 +====== 10 free troubleshooting tools for windows ======
 +
 +From: http://www.pcworld.com/article/3113464/windows/top-10-free-troubleshooting-tools-for-windows-10.html#slide5
 +
 +<code>
 +Process monitor - sysinternals
 +process explorer
 +autoruns - sysinternals
 +GPedit - https://4sysops.com/archives/managing-windows-update-changes-in-windows-10-1607-with-group-policy/
 +Stop windows update - http://www.pcworld.com/article/3113464/windows/top-10-free-troubleshooting-tools-for-windows-10.html#slide9
 +File History - like time machine
 +https://www.hwinfo.com/download.php
 +
 +Wushowhide, HWInfo, Secunia PSI and more
 +Those are my 10 favorite go-to troubleshooting programs, but there are many more you could add to your Windows 10 bucket list. I talked about several of them in the slideshow “Top 25 free apps for Windows 10.” In particular:
 +
 +Wushowhide lets you hide Win10 updates and upgrades until you’re good and ready to install them. The big trick: You have to wait until Windows Update says the upgrade/update is ready before you can hide it. Detailed instructions are here.
 +
 +Secunia Personal Software Inspector (free for personal use) scans your computer and tells you if there are awaiting patches.
 +
 +HWiNFO tells you every imaginable detail about every nook and cranny of your PC.
 +
 +sharex - screen grabber
 +line - phone call
 +</code>
 +
 +
 +====== The full list of shell commands in Windows 8 ======
 +
 +
 +From: http://winaero.com/blog/the-full-list-of-shell-commands-in-windows-8/
 +
 +<code>
 +Earlier, we have covered the most comprehensive list of shell locations by their Class ID which 
 +you can use to create a shortcut to the specific shell location for quick access. Today I am going 
 +to share the list of shell commands using their friendly name. Although these are implemented by 
 +the same ActiveX objects, you will notice that not every shell location with a CLSID has a user 
 +friendly alias. For example, 'Devices and Printers', the one with the 
 +shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A} CLSID has no friendly-name equivalent.
 +</code>
 +
 +====== find sendto folder ======
 +
 +From: http://answers.microsoft.com/en-us/windows/forum/windows_7-files/i-have-windows-7-and-cannot-locate-the-send-to/652b4c8a-e743-46c4-a554-c1c8b334ee35
 +
 +<code>
 +shell:sendto
 +Users\yourusername \AppData\Roaming\Microsoft\Windows\SendTo
 +</code>
 +
 +====== memory test ======
 +
 +From: http://windows.microsoft.com/en-us/windows7/diagnosing-memory-problems-on-your-computer
 +
 +<code>
 +Open Memory Diagnostics Tool by clicking the Start button Picture of the Start button, and then 
 +clicking Control Panel. In the search box, type Memory, and then click Diagnose your computer'
 +memory problems.‌  Administrator permission required If you're prompted for an administrator 
 +password or confirmation, type the password or provide confirmation.
 +
 +Click Start, type mdsched.exe in the Search box, and then press Enter.
 +
 +</code>
 +
 +====== powershell ======
 +
 +From: http://www.robvanderwoude.com/powershellstart.php
 +
 +<code>
 +Security:
 +If you want to create and run your own PowerShell scripts, you need to digitally sign your 
 +scripts.
 +To create your own so called "self-signed" certificate you'll need makecert.exe that comes 
 +with the .NET Framework 2.0 SDK.
 +To learn more about signing your scripts, start a PowerShell shell, type get-Help about_signing 
 +and read this text carefully.
 +Then type get-Help Set-AuthenticodeSignature -detailed and read this text just as carefully.
 +In PowerShell Plus creating a "self-signed" certificate takes only a couple of mouse clicks.
 +</code>
 +
 +====== net use ======
 +
 +
 +From: https://technet.microsoft.com/en-us/library/bb490717.aspx
 +
 +
 +<code>
 +To connect the user identifier Dan as if the connection were made from the Accounts domain, type:
 +net use d:\\server\share /user:Accounts\Dan 
 +</code>
 +
 +
 ====== Management and Command Tools ====== ====== Management and Command Tools ======
  
Line 46: Line 198:
 whether the synchronization was successful. whether the synchronization was successful.
 </code> </code>
- 
software/microsoft/windows/commands.1464474377.txt.gz · Last modified: 2016/05/28 22:26 by superwizard