I have a visual basic program and I use a batch file to run it. So when I double click the batch file the program runs. Here is the code that is inside the batch file.
md C:\Apps
copy L:\SWAIIApps\SDB\Release\*.* C:\Apps
C:
cd \Apps
start prjAssemblyPU.exe
What this code does is it first creates a folder called ‘Apps’ on the C: drive. Then it copies all the files on a network drive folder to the C:\Apps folder. Then it opens the application prjAssemblyPU.exe.
Does anybody know how to do this in Visual Basic? For example when I click a button on a form it should run the commands
md C:\Apps
copy L:\SWAIIApps\SDB\Release\*.* C:\Apps
C:
cd \Apps
start prjAssemblyPU.exe
What this code does is it first creates a folder called ‘Apps’ on the C: drive. Then it copies all the files on a network drive folder to the C:\Apps folder. Then it opens the application prjAssemblyPU.exe.
Does anybody know how to do this in Visual Basic? For example when I click a button on a form it should run the commands