Foros del Web » Soporte técnico » Ayuda General »

Fichero .bat

Estas en el tema de Fichero .bat en el foro de Ayuda General en Foros del Web. Hola. Tengo un fichero .bat. En el hago un seteo al classpath, pero es enorme. @SET classpath=C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\ apps\NewWebSYT\WebContent\WEB-INF\lib\spring-batch-core-1.0.0.FINAL.jar;C:\Proyectos\WebSiteNewSYT\NewSYT\ trunk\apps\NewWebSYT\WebContent\WEB-INF\lib\spring-batch-infrastructure-1.1.1.RELEASE.jar; C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\build\classes; C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\WebContent\WEB-INF\lib\spring-context.jar; C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\WebContent\WEB-INF\lib\spring.jar; ...
  #1 (permalink)  
Antiguo 08/04/2011, 06:31
 
Fecha de Ingreso: abril-2011
Mensajes: 4
Antigüedad: 13 años
Puntos: 0
Fichero .bat

Hola.

Tengo un fichero .bat.

En el hago un seteo al classpath, pero es enorme.

@SET classpath=C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\ apps\NewWebSYT\WebContent\WEB-INF\lib\spring-batch-core-1.0.0.FINAL.jar;C:\Proyectos\WebSiteNewSYT\NewSYT\ trunk\apps\NewWebSYT\WebContent\WEB-INF\lib\spring-batch-infrastructure-1.1.1.RELEASE.jar;
C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\build\classes;
C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\WebContent\WEB-INF\lib\spring-context.jar;
C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\WebContent\WEB-INF\lib\spring.jar;
C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\WebContent\WEB-INF\lib\commons-logging-1.1.1.jar;
C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\build\classes\conf\job\;
C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\build\classes\conf;
C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\WebContent\WEB-INF\lib\ehcache-core-2.5.0-20110406.161032-217.jar;
C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\WebContent\WEB-INF\lib\slf4j-api-1.6.1.jar;
C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\WebContent\WEB-INF\lib\slf4j-log4j12-1.6.1.jar;
C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\apps\NewWe bSYT\WebContent\WEB-INF\lib\log4j-1.2.16.jar;


Es decir, para que sea más legible me gustaría poner cada seteo en una línea pero como lo planteo no funciona.

¿Alguna idea?

Saludos.
Lo que quiero es dar formato a esto y conseguir lo siguiente:


@SET classpath=C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\ apps\NewWebSYT\WebContent\WEB-INF\lib\spring-batch-core-1.0.0.FINAL.jar;C:\Proyectos\WebSiteNewSYT\NewSYT\ trunk\apps\NewWebSYT\WebContent\WEB-INF\lib\spring-batch-infrastructure-1.1.1.RELEASE.jar;C:\Proyectos\WebSiteNewSYT\NewSY T\trunk\apps\NewWebSYT\build\classes;C:\Proyectos\ WebSiteNewSYT\NewSYT\trunk\apps\NewWebSYT\WebConte nt\WEB-INF\lib\spring-context.jar;C:\Proyectos\WebSiteNewSYT\NewSYT\trun k\apps\NewWebSYT\WebContent\WEB-INF\lib\spring.jar;C:\Proyectos\WebSiteNewSYT\NewS YT\trunk\apps\NewWebSYT\WebContent\WEB-INF\lib\commons-logging-1.1.1.jar;C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\ apps\NewWebSYT\build\classes\conf\job\;C:\Proyecto s\WebSiteNewSYT\NewSYT\trunk\apps\NewWebSYT\build\ classes\conf;C:\Proyectos\WebSiteNewSYT\NewSYT\tru nk\apps\NewWebSYT\WebContent\WEB-INF\lib\ehcache-core-2.5.0-20110406.161032-217.jar;C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\ap ps\NewWebSYT\WebContent\WEB-INF\lib\slf4j-api-1.6.1.jar;C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\ apps\NewWebSYT\WebContent\WEB-INF\lib\slf4j-log4j12-1.6.1.jar;C:\Proyectos\WebSiteNewSYT\NewSYT\trunk\ apps\NewWebSYT\WebContent\WEB-INF\lib\log4j-1.2.16.jar;

Etiquetas: fichero
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:52.