c# - How create directory on my local machine -
c# - How create directory on my local machine -
i love inquire ,what wrong th next code ,because i've been trying create folder on local machine not work according expectactions. gives me error saying :
access path 'c:\inetpub\wwwroot//printlabels/' denied
code:
directory.createdirectory(apppath + "//printlabels/");
if using windows vista or above, first close visual studio, right-click icon , select run administrator option. when execute code, should stop giving access denied exception.
c#
Comments
Post a Comment