2016-03-11 40 views
1
cd c:\dspace\bin 


dspace generate-sitemaps, 
dspace oai import, 
dspace index-discovery, 
dspace index-authority, 
dspace stats-util -o, 
dspace filter-media, 
dspace curate -q admin_ui, 
dspace checker -l -p, 
dspace checker -d 1h -p, 
dspace checker-emailers, 
dspace cleanup, 
dspace stats-util -s 

我該如何在同一個文件中運行所有這些命令,我​​試過這種方式,所以腳本運行了第一個。運行它們的正確方法是什麼?Windows上的同一個bat文件中的多個命令?

謝謝!

回答

2

可能是dspace是蝙蝠file.Try有:

cd c:\dspace\bin 


call dspace generate-sitemaps 
call dspace oai import 
call dspace index-discovery 
call dspace index-authority 
call dspace stats-util -o 
call dspace filter-media 
call dspace curate -q admin_ui 
call dspace checker -l -p 
call dspace checker -d 1h -p 
call dspace checker-emailers 
call dspace cleanup 
call dspace stats-util -s 
+0

如果相關,另外我建議檢查錯誤和錯誤處理返回代碼。 –

相關問題