|
Answer» Hi all,
Can any one help me regarding this issue.
how do i generate a multiple xml file USING single xml file with unique name?
It should be parameterized. for eg: if i give 10000 as a parameter? it should generate 10000 xml file using single xml file with unique name.
Regards, Mohamed Asif KPAssuming your "single xml file" is named file.xml you can do something like this: Code: [Select]@echo off for /l %%a in (1,1,%1) do COPY file.xml file%%a.xmlHi Gurugary,
THANKS for your reply, if i need to select the single file from a source location and copy this files 10000 times in destination location?
Do i have to give the path and loaction in loop? kindly help me.
Regards, Mohamed Asif KP
If they are not in the current directory, then yes.
Example with both source and DEST in different directories: Code: [Select]@echo off for /l %%a in (1,1,%1) do copy "D:\Path\to\source\file.xml" "D:\Path\to\destination\file%%a.xml"Hi Gurugary,
Bunch of thanks to you.... As you said that..... it was working fine........You're welcome. Glad it's working for you.
|