Please help me out.Error message: File already exists:

by May 22, 2014

Please I am new to the world of programming and scripting. I started using powershell two days ago. When I type the command 'mkdir temp' I get the error message below. Please can anyone tell me how to get around it? Thanks

Windows PowerShell

 

Copyright (C) 2012 Microsoft Corporation. All rights reserved.

 

 

 

PS C:UsersAdex> pwd

 

 

 

Path

 

—-

 

C:UsersAdex

 

 

 

 

 

PS C:UsersAdex> cd ~

 

PS C:UsersAdex> mkdir temp

 

mkdir : Item with specified name C:UsersAdextemp already exists. 

 

At line:1 char:1

 

+ mkdir temp

 

+ ~~~~~~~~~~

 

    + CategoryInfo          : ResourceExists: (C:UsersAdextemp:String) [New-Item], IOException

 

    + FullyQualifiedErrorId : DirectoryExist,Microsoft.PowerShell.Commands.NewItemCommand

 

 

 

PS C:UsersAdex>