Hello guys, i'm trying to import a zip file in windows by batch import dspace in cmd but the windows is not understanding the DIR from file:
*DIR-dspace/bin: dspace import -a -e admin -c 123456789/218424 -s C:\Users\admin\desktop\projects\community\migration\bitstreams -z SimpleArchiveFormat.zip -m mapfilesCOM* *C:\dspace5\bin>dspace import -a -e admin -c capes/218424 -s C:\Users\admins\Desktop\projects\community\migration\bitstreams -z SimpleArchiveFormat.zip -m mapfilesCOM* *Using DSpace installation in: C:\dspace5* *Destination collections:* *Owning Collection: materials* *java.io.FileNotFoundException: C:\Users\admins\Desktop\projects\community\migration\bitstreams\C:\Users\admins\Desktop\projects\community\migration\bitstreams\SimpleArchiveFormat.zip (The syntax of the file name, directory name, or volume label is incorrect)* * at java.util.zip.ZipFile.open(Native Method)* * at java.util.zip.ZipFile.<init>(Unknown Source)* * at java.util.zip.ZipFile.<init>(Unknown Source)* * at java.util.zip.ZipFile.<init>(Unknown Source)* * at org.dspace.app.itemimport.ItemImport.unzip(ItemImport.java:2021)* * at org.dspace.app.itemimport.ItemImport.unzip(ItemImport.java:1987)* * at org.dspace.app.itemimport.ItemImport.unzip(ItemImport.java:2098)* * at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:490)* * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)* * at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)* * at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)* * at java.lang.reflect.Method.invoke(Unknown Source)* * at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226)* * at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)* *java.io.FileNotFoundException: C:\Users\admins\Desktop\projects\community\migration\bitstreams\C:\Users\admins\Desktop\projects\community\migration\bitstreams\SimpleArchiveFormat.zip (The syntax of the file name, directory name, or volume label is incorrect)* *Deleting temporary zip directory: /dspace5/imports* *Started: 1512488260816* *Ended: 1512488268886* *Elapsed time: 8 secs (8070 msecs)* -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
