This is maybe too simple. It's a command file that we to assign to a token and run from a batch file in order to copy a display exec file from a folder that managed services trusts us to access, to the folder where it needs to live for mobile in basket.
:: Location for MIB html exec display files copy D:\lawdev\law\bpm\inbasketexecs\posum1_mib.htm D:\ibm\websphere\appserver\profiles\lawdev\installedapps\4Jlsfdevcellmanager01\lawdev-mib.ear\mib.war\html\inbasket\execs\posum1.htm dir D:\ibm\websphere\appserver\profiles\lawdev\installedapps\4Jlsfdevcellmanager01\lawdev-mib.ear\mib.war\html\inbasket\execs
I also have some longer VBS scripts.
Here's a piece of a VB script that checks for the existence of a folder, check for a file is similar. This could also be done in Powershell, but I didn't have time to delve into it when it was written.
In my case at least, the script needs to be invoked by a CMD file that runs cscript:
cscript //nologo D:\lawdev\law\eugene\Vbs\histcopy.wsf %1 %2
Here's the VBS code. I don't know how to preserve the indents when posting here.