raspberrypi / pico-setup-windows

Old Pico-Setup-Windows installer, this repository is no longer in use.
Apache License 2.0
259 stars 38 forks source link

The system cannot find the file specified. #40

Closed sdwood68 closed 8 months ago

sdwood68 commented 8 months ago

On Windows 11 x86-64 After install finishes and when it starts to install the pico-examples into the def

The system cannot find the file specified.
Copying pico-examples...
New-Item : Could not find file 'Pico-v1.5.1'.
At
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:318
char:32
+ ... eatedItem = New-Item -Path $DestinationPath -ItemType Directory -Conf ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\Users\Stuart\Documents\Pico-v1.5.1:String) [New-Item], FileNotFoundExcep
   tion
    + FullyQualifiedErrorId : CreateDirectoryIOError,Microsoft.PowerShell.Commands.NewItemCommand

C:\Program Files\Raspberry Pi\Pico SDK v1.5.1>
ndabas commented 8 months ago

Looks like it couldn't create the C:\Users\Stuart\Documents\Pico-v1.5.1 directory for some reason (The The system cannot find the file specified. is coming from a mkdir command.) Is there any reason you can think of, why this failed?

sdwood68 commented 8 months ago

Thanks for the reply.

I resolved the issue, by reinstalling Windows 11 and wiping the user directory. I think the permission or ownerships were corrupted.

On Sun, Jan 28, 2024, 5:53 AM Nikhil Dabas @.***> wrote:

Looks like it couldn't create the C:\Users\Stuart\Documents\Pico-v1.5.1 directory for some reason (The The system cannot find the file specified. is coming from a mkdir command.) Is there any reason you can think of, why this failed?

— Reply to this email directly, view it on GitHub https://github.com/raspberrypi/pico-setup-windows/issues/40#issuecomment-1913553509, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYE6HQSZFD63RWINL4SYELYQYU3PAVCNFSM6AAAAABCM22Q7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGU2TGNJQHE . You are receiving this because you authored the thread.Message ID: @.***>