IBM Support

Absolute path of shared folder in batch file

Troubleshooting


Problem

I'm trying to copy files in shared folder using batch file, but below command in batch file doesn't work.
COPY \\data\s\server\*.cub \\data\s\tm1\encrypted files

Resolving The Problem


Absolute path for files in shared folder should be starts with "s:\" instead of "\\data\s\".
In addition that, when path includes spaces, path should be enclosed within double quatation.
So the path should be like:
COPY s:\server\*.cub "s:\tm1\encrypted files"

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSD29G","label":"IBM Planning Analytics"},"Component":"Turbo Integrator process","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
20 September 2021

UID

ibm11281952