Softgrid Scripting – CMD/DOS Box & XCopy

Copy file + Start DOS Box within the bubble

Edit your .OSD file, with these lines of code:

<DEPENDENCY>
<SCRIPT EVENT="LAUNCH" TIMING="PRE" PROTECT="FALSE" WAIT="TRUE" TIMEOUT="">
<HREF>xcopy "\\dfspath.local\directory\filename.ext" "%TEMP%" /R /Y</HREF>
</SCRIPT>
<SCRIPT EVENT="LAUNCH" TIMING="PRE" PROTECT="TRUE" WAIT="TRUE" TIMEOUT="">
<HREF>c:\windows\system32\cmd.exe</HREF>
</SCRIPT>
<CLIENTVERSION VERSION="3.1.2.2"/>
</DEPENDENCY>