Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stadub authored Aug 12, 2016
1 parent 194160c commit 0375e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A Cmd scripts which makes life easier.
* [Copy](#copycmd) - Copy folder content
* [AddRoutesTemplate](#addroutestemplatecmd) - template for RouteConfig scripts

The easiest way to get all the scripts is press Win+R keyboard hotkeys and insert into the window entire script provided below:
##The easiest way to get all scripts: Press Win+R keyboard hotkeys and insert into the window entire script provided below:

```powershell.exe -executionpolicy bypass "$dst=Read-Host 'Enter install folder:';$repo='https://github.com/stadub/CmdScripts/archive/master.zip';$f=[System.IO.Path]::GetTempFileName()+'.zip';New-Object System.Net.WebClient|%{$_.DownloadFile($repo,$f);};$sh=New-Object -ComObject Shell.Application;$ar=$sh.NameSpace($f).Items();$af=$ar.Item(0).GetFolder.Items();mkdir $dst;$d=$sh.NameSpace($dst);$d.CopyHere($af, 272);& $dst\InstallBin.cmd;Write-Warning 'Add scripts to autorun?' -warningaction Inquire;& $dst\CmdAutoRun.cmd;pause"```

Expand Down

0 comments on commit 0375e80

Please sign in to comment.