Stan, The reason for the problems that you see are that most scripts (all those without file extensions) in that [dspace]/bin directory are actually Linux Bourne Shell scripts.
In DSpace 1.5.x only the 'dsrun.bat' script works on Windows (it's a Windows/MS-DOS batch file). In DSpace 1.5.x, if you want to run one of the other scripts on Windows, you'd need to open up the script file (e.g. update-handle-prefix) and type in the class name which appears after the "$BINDIR/dsrun". So, as an example, instead of running update-handle-prefix on Windows, you'd run: dsrun org.dspace.handle.UpdateHandlePrefix As another example, instead of running start-handle-server on Windows, you'd run: dsrun -Ddspace.log.init.disable=true -Dlog4j.configuration=log4j-handle-plugin.properties net.handle.server.Main [handle-dir] >> [path to handle server log file] Obviously, this is not ideal, and makes it difficult to run commands on Windows. So, in DSpace 1.6.0 (to be released in Feb), we've reworked this, so that all commands (on Linux or Windows) can be run from a common "dspace" script. So, in DSpace 1.6.0, you'd just run '[dspace]/bin/dspace update-handle-prefix' on either Linux, Mac or Windows. - Tim On 1/25/2010 11:39 AM, Stan Orlov wrote: > Dear colleagues, > > We hope someone on this list can help us understand why some scripts in > the DSpace/bin directory on Windows run while some others don't. > > We've installed the handle server and edited the config files. We run > DSpace 1.5.1 on Win 2003 server. However, when we try to run any handle > server related scripts from DSpace\bin, we have the following messages: > > C:\DSpace\bin>update-handle-prefix 123456789 10587 > 'update-handle-prefix' is not recognized as an internal or external > command, operable program or batch file. > > C:\DSpace\bin>start-handle-server > 'start-handle-server' is not recognized as an internal or external > command, operable program or batch file. > > At the same time, dsrun in the same bin directory runs just fine. What > should we do to make handle scripts work? > > Your help is really appreciated! > > Cheers, > Stan Orlov > > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > > > > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

