So, I bought this book called "Learn Python the Hard Way" and in the learning progress as it is my first programming language.
The problem I'm facing now is I couldn't create a directory in Powershell for Windows 7.
I followed exactly like what the book said "mkdir mystuff" and I got the following error.
All I want is to make the directory becomes like this
C:\Documents and Settings\User\mystuff
How do I solve this ? Your help is greatly appreciated.
Everything works fine in WindowsXP but not Windows 7.
PS C:\Windows\System32\WindowsPowerShell\v1.0> mkdir mystuff
New-Item : Access to the path 'mystuff' is denied.
At line:38 char:24
+ $scriptCmd = {& <<<< $wrappedCmd -Type Directory @PSBoundParameters
}
+ CategoryInfo : PermissionDenied: (C:\Windows\Syst...ll\v1.0\mys
tuff:String) [New-Item], UnauthorizedAccessException
+ FullyQualifiedErrorId : CreateDirectoryUnauthorizedAccessError,Microsoft
.PowerShell.Commands.NewItemCommand