Click here to Skip to main content
15,892,575 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have to create 1 thing which is install in my PC and if i create 1 folder in drive C then it will automaticall copied in Drive D
Posted
Comments
Sergey Alexandrovich Kryukov 2-Mar-14 0:14am    
Is it really related to ASP.NET? You can do it, but it's "almost impossible" in a Web application.
—SA
CodeReady 2-Mar-14 0:21am    
you can try for msbuild script for creating the folder and copying data from source to destination and can run it by some batch file but in web application ... 'almost impossible'.

if you want to use ASP.net you can use from command line.
see this for more information.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 2-Mar-14 0:30am    
No, it is not that simple. A Web application is executed in the sandboxed environment, it won't give you access beyond the root of the site, so you won't be able to access different drive. False answer.
—SA
Try

copy-files[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900