troubleshooting Question

Batch file path issue - URGENT

Avatar of Dreamslogic
Dreamslogic asked on
Windows Batch
13 Comments5 Solutions487 ViewsLast Modified:
Hi there,

Thanks once again.

Issue is my PLUSales files are inside the StoreFiles(Directory).  IMy Productcatalog is working fine but PLUSale need some changes

FileSystem Struture:
 
StoreFiles(Directory) --> ProdcutCatalog.csv
StoreFiles(Directory) --> PLUSales(Folder1) --> PLUSales1.csv
StoreFiles(Directory) --> PLUSales(Folder2) --> PLUSales3.csv
StoreFiles(Directory) --> PLUSales(Folder2) --> PLUSales4.csv

Solution Required:

OsPos(Directory) --> BUNDABERG (With all Zipped files in this folder)


Script:
 
set SSIS_FTPFILE_ORG=I:\Information Technology\Retail\Durga\OsPos\Store Files\
set SSIS_FTPFILE_DEST=I:\Information Technology\Retail\Durga\OsPos
set LOGFILE=%SSIS_FTPFILE_DEST%zbatlog%curdate%.txt
 
 
"C:\Program Files\7-zip\7z.exe" a "%SSIS_FTPFILE_DEST%\BUNDABERG.zip" "%SSIS_FTPFILE_ORG%\ProductCatalog*.csv" >>"%LOGFILE%"
"C:\Program Files\7-zip\7z.exe" a "%SSIS_FTPFILE_DEST%\BUNDABERG.zip" "%SSIS_FTPFILE_ORG%\..\PluSales*.csv" >>"%LOGFILE%


Please help me its urgent

Thanks,



Thanks for the help,

D
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 5 Answers and 13 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 5 Answers and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros