At present I have an Xcopy routine which is stored on my C Drive, called via a shortcut. I'm trying to tidy up this programme.
[VBA]
stAppName = "c:\backsup\smonba~1.pif"
Call Shell(stAppName, 1)
[/VBA]

The code for Mon.bat is

xcopy S:\Database\Valuat~1.mdb C:\Database\Backup\thu\ /v/y
xcopy S:\Database\SasinesData.mdb C:\Database\Backup\Sasines\ /m/v/y
Can someone give me a "direct" coding, which avoids the need for the C Drive Bat file and shortcut?
MD