Hi,
On button click I execute:
Batch file run XCOPY command, but instead of start command prompt from c: I got
C:\Documents and Setting\user\Local Settings\Apps\2.0\6J0K5G0H.D0P\....>XCOPY path
How can I on button click run command prompt and execute batch from c:\ what do to and what to change?
Thanks.
On button click I execute:
VB.NET:
System.Diagnostics.Process.Start("c:\file.bat")
Call Thread.Sleep(CInt(12000 * Rnd()))
Batch file run XCOPY command, but instead of start command prompt from c: I got
C:\Documents and Setting\user\Local Settings\Apps\2.0\6J0K5G0H.D0P\....>XCOPY path
How can I on button click run command prompt and execute batch from c:\ what do to and what to change?
Thanks.