Trying to create directories returns “The system cannot find the file specified.” win10 [on hold]











up vote
-1
down vote

favorite












When I am trying to make a directory or make changes to any items through CMD, PS, or any CLI like Yarn, MVN, DOTNET, it returns errors stating that the folders and files I should have created from that process does not exist.



Microsoft Windows [Version 10.0.17134.407]
This was working literally two days ago, I come back to the PC today and



C:UsersnameDocuments>dotnet new console
Template "Console Application" could not be created.
Error while processing file /content/ConsoleApplication-CSharp/Company.ConsoleApplication1.csproj
Could not find file 'C:UsersnameDocumentsDocuments.csproj'.



C:UsersnameDocuments>mkdir Directory
The system cannot find the file specified.


PS C:UsersnameDocuments> mkdir Folder
mkdir : Could not find file 'Folder'.
At line:1 char:1
+ mkdir Folder
+ ~~~~~~~~~~~~
+ CategoryInfo : WriteError: (C:UsersnameDocumentsFolder:String) [New-Item], FileNotFoundException
+ FullyQualifiedErrorId : CreateDirectoryIOError,Microsoft.PowerShell.Commands.NewItemCommand


PS C:UsersmitchDocuments> yarn init
...
...
success Saved package.json
error Could not write file "C:\Users\name\Documents\yarn-error.log": "ENOENT: no such file or directory, open 'C:\Users\name\Documents\yarn-error.log'"
error An unexpected error occurred: "ENOENT: no such file or directory, open 'C:\Users\name\Documents\package.json'".
info Visit https://yarnpkg.com/en/docs/cli/init for documentation about this command.


name@DESKTOP-OT6VC6I:/mnt/c/users/name/Documents$ mkdir a
mkdir: cannot create directory ‘a’: No such file or directory









share|improve this question













put on hold as too broad by Ramhound, bertieb, G-Man, Pimp Juice IT, K7AAY yesterday


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • Taking the simple example of C:UsersnameDocuments>mkdir Directory. Can you run Process Monitor - docs.microsoft.com/en-us/sysinternals/downloads/procmon. From the Filter menu, choose "Enable Advanced Output" then in the filter add a new rule: Path contains wibble as an example of a unique string Then run as before mkdir wibble. Do you see cmd.exe get an error?
    – HelpingHand
    Nov 21 at 22:18










  • Can you create directories with File Explorer in the same folders you're trying to create them from the command line?
    – Twisty Impersonator
    Nov 28 at 13:49















up vote
-1
down vote

favorite












When I am trying to make a directory or make changes to any items through CMD, PS, or any CLI like Yarn, MVN, DOTNET, it returns errors stating that the folders and files I should have created from that process does not exist.



Microsoft Windows [Version 10.0.17134.407]
This was working literally two days ago, I come back to the PC today and



C:UsersnameDocuments>dotnet new console
Template "Console Application" could not be created.
Error while processing file /content/ConsoleApplication-CSharp/Company.ConsoleApplication1.csproj
Could not find file 'C:UsersnameDocumentsDocuments.csproj'.



C:UsersnameDocuments>mkdir Directory
The system cannot find the file specified.


PS C:UsersnameDocuments> mkdir Folder
mkdir : Could not find file 'Folder'.
At line:1 char:1
+ mkdir Folder
+ ~~~~~~~~~~~~
+ CategoryInfo : WriteError: (C:UsersnameDocumentsFolder:String) [New-Item], FileNotFoundException
+ FullyQualifiedErrorId : CreateDirectoryIOError,Microsoft.PowerShell.Commands.NewItemCommand


PS C:UsersmitchDocuments> yarn init
...
...
success Saved package.json
error Could not write file "C:\Users\name\Documents\yarn-error.log": "ENOENT: no such file or directory, open 'C:\Users\name\Documents\yarn-error.log'"
error An unexpected error occurred: "ENOENT: no such file or directory, open 'C:\Users\name\Documents\package.json'".
info Visit https://yarnpkg.com/en/docs/cli/init for documentation about this command.


name@DESKTOP-OT6VC6I:/mnt/c/users/name/Documents$ mkdir a
mkdir: cannot create directory ‘a’: No such file or directory









share|improve this question













put on hold as too broad by Ramhound, bertieb, G-Man, Pimp Juice IT, K7AAY yesterday


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • Taking the simple example of C:UsersnameDocuments>mkdir Directory. Can you run Process Monitor - docs.microsoft.com/en-us/sysinternals/downloads/procmon. From the Filter menu, choose "Enable Advanced Output" then in the filter add a new rule: Path contains wibble as an example of a unique string Then run as before mkdir wibble. Do you see cmd.exe get an error?
    – HelpingHand
    Nov 21 at 22:18










  • Can you create directories with File Explorer in the same folders you're trying to create them from the command line?
    – Twisty Impersonator
    Nov 28 at 13:49













up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











When I am trying to make a directory or make changes to any items through CMD, PS, or any CLI like Yarn, MVN, DOTNET, it returns errors stating that the folders and files I should have created from that process does not exist.



Microsoft Windows [Version 10.0.17134.407]
This was working literally two days ago, I come back to the PC today and



C:UsersnameDocuments>dotnet new console
Template "Console Application" could not be created.
Error while processing file /content/ConsoleApplication-CSharp/Company.ConsoleApplication1.csproj
Could not find file 'C:UsersnameDocumentsDocuments.csproj'.



C:UsersnameDocuments>mkdir Directory
The system cannot find the file specified.


PS C:UsersnameDocuments> mkdir Folder
mkdir : Could not find file 'Folder'.
At line:1 char:1
+ mkdir Folder
+ ~~~~~~~~~~~~
+ CategoryInfo : WriteError: (C:UsersnameDocumentsFolder:String) [New-Item], FileNotFoundException
+ FullyQualifiedErrorId : CreateDirectoryIOError,Microsoft.PowerShell.Commands.NewItemCommand


PS C:UsersmitchDocuments> yarn init
...
...
success Saved package.json
error Could not write file "C:\Users\name\Documents\yarn-error.log": "ENOENT: no such file or directory, open 'C:\Users\name\Documents\yarn-error.log'"
error An unexpected error occurred: "ENOENT: no such file or directory, open 'C:\Users\name\Documents\package.json'".
info Visit https://yarnpkg.com/en/docs/cli/init for documentation about this command.


name@DESKTOP-OT6VC6I:/mnt/c/users/name/Documents$ mkdir a
mkdir: cannot create directory ‘a’: No such file or directory









share|improve this question













When I am trying to make a directory or make changes to any items through CMD, PS, or any CLI like Yarn, MVN, DOTNET, it returns errors stating that the folders and files I should have created from that process does not exist.



Microsoft Windows [Version 10.0.17134.407]
This was working literally two days ago, I come back to the PC today and



C:UsersnameDocuments>dotnet new console
Template "Console Application" could not be created.
Error while processing file /content/ConsoleApplication-CSharp/Company.ConsoleApplication1.csproj
Could not find file 'C:UsersnameDocumentsDocuments.csproj'.



C:UsersnameDocuments>mkdir Directory
The system cannot find the file specified.


PS C:UsersnameDocuments> mkdir Folder
mkdir : Could not find file 'Folder'.
At line:1 char:1
+ mkdir Folder
+ ~~~~~~~~~~~~
+ CategoryInfo : WriteError: (C:UsersnameDocumentsFolder:String) [New-Item], FileNotFoundException
+ FullyQualifiedErrorId : CreateDirectoryIOError,Microsoft.PowerShell.Commands.NewItemCommand


PS C:UsersmitchDocuments> yarn init
...
...
success Saved package.json
error Could not write file "C:\Users\name\Documents\yarn-error.log": "ENOENT: no such file or directory, open 'C:\Users\name\Documents\yarn-error.log'"
error An unexpected error occurred: "ENOENT: no such file or directory, open 'C:\Users\name\Documents\package.json'".
info Visit https://yarnpkg.com/en/docs/cli/init for documentation about this command.


name@DESKTOP-OT6VC6I:/mnt/c/users/name/Documents$ mkdir a
mkdir: cannot create directory ‘a’: No such file or directory






command-line






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 21 at 20:22









jii ihuio

1




1




put on hold as too broad by Ramhound, bertieb, G-Man, Pimp Juice IT, K7AAY yesterday


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






put on hold as too broad by Ramhound, bertieb, G-Man, Pimp Juice IT, K7AAY yesterday


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • Taking the simple example of C:UsersnameDocuments>mkdir Directory. Can you run Process Monitor - docs.microsoft.com/en-us/sysinternals/downloads/procmon. From the Filter menu, choose "Enable Advanced Output" then in the filter add a new rule: Path contains wibble as an example of a unique string Then run as before mkdir wibble. Do you see cmd.exe get an error?
    – HelpingHand
    Nov 21 at 22:18










  • Can you create directories with File Explorer in the same folders you're trying to create them from the command line?
    – Twisty Impersonator
    Nov 28 at 13:49


















  • Taking the simple example of C:UsersnameDocuments>mkdir Directory. Can you run Process Monitor - docs.microsoft.com/en-us/sysinternals/downloads/procmon. From the Filter menu, choose "Enable Advanced Output" then in the filter add a new rule: Path contains wibble as an example of a unique string Then run as before mkdir wibble. Do you see cmd.exe get an error?
    – HelpingHand
    Nov 21 at 22:18










  • Can you create directories with File Explorer in the same folders you're trying to create them from the command line?
    – Twisty Impersonator
    Nov 28 at 13:49
















Taking the simple example of C:UsersnameDocuments>mkdir Directory. Can you run Process Monitor - docs.microsoft.com/en-us/sysinternals/downloads/procmon. From the Filter menu, choose "Enable Advanced Output" then in the filter add a new rule: Path contains wibble as an example of a unique string Then run as before mkdir wibble. Do you see cmd.exe get an error?
– HelpingHand
Nov 21 at 22:18




Taking the simple example of C:UsersnameDocuments>mkdir Directory. Can you run Process Monitor - docs.microsoft.com/en-us/sysinternals/downloads/procmon. From the Filter menu, choose "Enable Advanced Output" then in the filter add a new rule: Path contains wibble as an example of a unique string Then run as before mkdir wibble. Do you see cmd.exe get an error?
– HelpingHand
Nov 21 at 22:18












Can you create directories with File Explorer in the same folders you're trying to create them from the command line?
– Twisty Impersonator
Nov 28 at 13:49




Can you create directories with File Explorer in the same folders you're trying to create them from the command line?
– Twisty Impersonator
Nov 28 at 13:49















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Сан-Квентин

8-я гвардейская общевойсковая армия

Алькесар