Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $code =’using System.Diagnostics;
- class Program
- {
- static void Main()
- {
- //
- // your code
- //
- Process.Start("C:\\calc.exe");
- }
- } ’;
- $code
- $code | Out-File windowscodecs.cs
- $path = Resolve-Path windowscodecs.cs
- $compiler = "$env:windir/Microsoft.NET/Framework/v2.0.50727/csc"
- &$compiler /target:library windowscodecs.cs
- dir windowscodecs*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement