1

Topic: Error in jacket Windows?

Unexpectedly found a stupid error in jacket Windows... Actions very simple: 1. We create text file Test.ps1 c such contents: "Test" pause 2.  on a file, we fulfill this unpretentious PowerShell-scenario and it is received on the screen the following: Test For continuation push a key INPUT...: 3. We pull the right mouse for a file, we release and it is sampled to a menu to "Copy". The new file - a copy old turns out. We open it on editing and it is changed: "Test2" pause it is not forgotten to save the changed file! 4.  on a new file also it is executable it. Test for continuation push a key INPUT...: the Surprise-surprise! As though a file also did not edit... We Open, again we check... Silently we go nuts. But it is short. Then certainly we guess.

2

Re: Error in jacket Windows?

Hello, Pek2014, you wrote: P> Unexpectedly found a stupid error in jacket Windows... P> Actions very simple: P> 1. We create text file Test.ps1 c such contents:... P> But it is short. Then certainly we guess. It is not played back. The similar phenomenon https://habrahabr.ru/company/infopulse/blog/350126/ can at you

3

Re: Error in jacket Windows?

Hello, kov_serg, you wrote: _> Hello, Pek2014, you wrote: P>> Unexpectedly found a stupid error in jacket Windows... P>> Actions very simple: P>> 1. We create text file Test.ps1 c such contents: _>... P>> But it is short. Then certainly we guess. _> it is not played back. The similar phenomenon https://habrahabr.ru/company/infopulse/blog/350126/ the Trick that jacket Windows irregularly causes PowerShell scripts can at you. It does not consider that in a way to a script there can be gaps (i.e. children forgot to frame with inverted commas a way to a ps1-script file). For example, you will not manage simple  to launch PowerShell a script lying in the directory in which name there is a gap. An error absolutely trivial and it is not clear why it till now did not repair. It should be visible to all and to much to hinder... I Can something I do not understand? By the way, classical , are perfectly caused despite of gaps in a way to files.