asp.net - How to execute an external script that is in notepad from c# -
i wrote script in notepad , saved in folder. want execute script c# button click.
can please me how it?
since have chosen asp.net tag: want start script on server or on client machines? can start script on server, starting scripts out browser different story:
process.start(@"c:\myscript.vbs");
just make sure have following line @ top of file:
using system.diagnostics;
Comments
Post a Comment