techwiki:dos

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
techwiki:dos [2023/07/07 07:05] – [basic operation] yingtechwiki:dos [2024/01/11 12:58] (current) – [PowerShell] ying
Line 30: Line 30:
  
 **add other exe like python into path of cmd** **add other exe like python into path of cmd**
-  * note: put added python of python in front of %path% works, while behind it not work+  * note: put added path of python in front of %path% works, while behind it not work
   * code <code dos>   * code <code dos>
 SET PATH=D:\App\Python;D:\App_Dev\PortableGit\bin;%PATH% SET PATH=D:\App\Python;D:\App_Dev\PortableGit\bin;%PATH%
Line 402: Line 402:
  
   * http://technet.microsoft.com/en-us/sysinternals/bb545027   * http://technet.microsoft.com/en-us/sysinternals/bb545027
 +
 +
 +===== PowerShell =====
 +
 +  * enable script run on powershell
 +    * run powershell as admin, then <code>set-executionpolicy remotesigned</code>
 +
 +  * add ssh <code>
 +# Install the OpenSSH Client
 +Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
 +
 +# Install the OpenSSH Server
 +Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
 +</code>
 +    * after install ssh, go Run services, and set ssh server to startup automatic, then start ssh server
 +    * you need put vim on server machine to be able to edit text file:
 +      * https://www.vim.org/download.php
  • techwiki/dos.1688713510.txt.gz
  • Last modified: 2023/07/07 07:05
  • by ying