I have written a small batch file that copies an exe from solution to the system32
folder.
copy "blah.exe" "%systemroot%/System32"
The batch file works fine and copies the exe if ran from the desktop by double clikcing (placed exe on the desktop as well)
However, I tried doing that from Windows Application by:
Process.Start("sample.bat");
(EXE file and batfile -> Properties -> Output to Copy Always) The cmd window does come up, but the .exe file is not there in the destination directory. What am I missing here?