Copy folders , subfolders and files using batch file?
I have a program that will not support a silent install, and it doesn't require running an installation routine in order for it to run successfully.
I have created a post installation task that I hoped would copy the files to their correct locations.
The batch file I created runs perfectly when I execute it locally on the target machine.
I have tried copying the program's directory structure to C:\Program Files\VendorName\ProgramName without success.
(There are several subdirectories, each with their own files and subdirectories as well)
Running it as a post installation task on the K2000, it will only create the first directory.
The batch file (InstallWorkflows.bat) is listed out below:
rem Install Workflows
rem Create Sirsi Directory in C:\Program Files
mkdir "C:\Program Files\Sirsi"
Create SirsiDynix directory in C:\Documents and Settings\All Users\Start Menu\Programs
mkdir "C:\Documents and Settings\All Users\Start Menu\Programs\SirsiDynix"
rem Copy Java Workflows to C:\Program Files\Sirsi
XCOPY Sirsi "C:\Program Files\Sirsi" /s
rem Copy shortcut to the All Users Desktop
copy "WorkFlows 3.4.0J.lnk" "C:\Documents and Settings\All Users\Desktop"
rem Copy shortcut to the Programs directory in All Users Start Menu
copy "WorkFlows 3.4.0J.lnk" "C:\Documents and Settings\All Users\Start Menu\Programs\SirsiDynix"
On the K2000, I uploaded a zip file called Workflows.zip, and in the post installation task I created, it executes the batch file "InstallWorkflows.bat."
Does this need to be a VB Script, or can I do this with batch files? If so, what am I missing?
Thanks for any guidance you can provide.
so that the conversation will remain readable.