• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

environment setting

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to set the environment for tomcat by changing in c:\autoexec.bat and my contents of autoexe.bat are:
C:\PROGRA~1\NETWOR~1\MCAFEE~1\BOOTSCAN.EXE C:\
@IF ERRORLEVEL 1 PAUSE
@ECHO OFF

IF EXIST C:\PIPOST.BAT CALL C:\PIPOST.BAT > NUL
IF EXIST C:\PIPOST.BAT DEL C:\PIPOST.BAT > NUL
REM Environment Setting for JDK
REM Environment Setting For JDBC
PATH %PATH%;C:\PROGRA~1\BORLAND\DATAGA~1\BIN
REM Environment Setting for Oracle
PATH %PATH%;c:\ORAWIN95\bin
PATH %PATH%;C:\PROGRA~1\NETWOR~1\MCAFEE~1
PATH %PATH%;"C:\Program Files\Mts"
SET PATH = c:\jakarta-tomcat\bin;
SET JAVA_HOME = c:\jdk1.3\bin
SET TOMCAT_HOME = c:\tomcat
SET CLASSPATH = %classpath%;c:\jdk1.3\lib\tools.jar
doskey

REM Environment Settings For McAfee VirusScan
SET PATH=%PATH%;C:\PROGRA~1\NETWOR~1\MCAFEE~1

and I am executing by c:\autoexec.bat
and when I try to see the change in path in MSDOS-PROMPT, it shows me the old one I have rebooted my machine too.
Any idea what I am doing wrong?
Any help will be appreciated.
Thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic