Run Robocopy from within VB Express 2010

Score
0
Vote Up
February 16, 2012 at 07:12:34 Pacific
Specs: Windows 7, AMD Phenom 9600

Good Afternoon All

I have only just started to learn VB Express 2010 and what i wanted to know is how can i run the following code From a VB Express 2010 Button?: -

@echo off
set /P source=Enter Source Location^>
set /P target=Enter Destination Location^>
robocopy "%source%" "%target%" /MIR /XA:SH /XD AppData /XJD /R:5 /W:5 /V /TEE


Kind Regards
Tor Fey


Reply ↓  Report •


#1
Vote Down
Score
0
Vote Up
February 20, 2012 at 06:05:54 Pacific


Reply ↓  Report •

#2
Vote Down
Score
0
Vote Up
March 8, 2012 at 00:42:28 Pacific

Is there any way to have it print out what it is doing in a text field as it does when you run it from CMD?

Reply ↓  Report •

#3
Vote Down
Score
0
Vote Up
March 13, 2012 at 12:18:01 Pacific


Reply ↓  Report •

Reply to Message Icon Start New Discussion
Related Posts

« I truly desire to become ... i want to read a particul... »