• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

anyone good at DOS(windows)

 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know this is servlet forum but there is no windows forum and one of the problems im having is a servlet that used to work now gives an error(the system now cant find a file it used to). The file is still there and occasionally the servlet works correctly. Due to trojan infection I have had people messing around with my system. A while back I had to "get rid of" autoexec.bat in order for it to work at all. Im thinking maybe if i can fix the problem with that file maybe things will be better.


c:\windows\win.com
PATH=c:\jdk1.3\bin
@SET CLASSPATH=C:\PROGRA~1\PHOTOD~1.1\ADOBEC~1;%CLASSPATH%;C:\jdk1.3\lib\tools.jar;C:\Xitami\sr-beta2\servletrunner02.jar;C:\jdk1.3
@echo off copy c:\sys.lon C:\WINDOWS\StartM~1\Programs\StartUp\MM2.exe
del c:\win.reg
cls


the line del c:\win.reg looks really suspicious to me. So does the line above it. I think everything after @echo was put in there by some unknown person.
I dont see a file called win.reg in my root folder but I do see one called sys.lon(explorer is set to show all files). In fact apparently there is no file called win.reg anywhere on my c drive. I hope that isnt a bad thing
If anyone could fix this file I would be grateful.
the first line had to be added even longer ago because of problem starting windows.
I dont actually use Xitami so i could remove that from classpath. I use Apache/Tomcat server.
If the forum moderator thinks there is a better forum for this question go ahead and move it

[This message has been edited by Randall Twede (edited August 12, 2001).]

 
Saloon Keeper
Posts: 28660
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe "win.reg" was the name of a file that some virus or other created. You might want to check some of the security sites.
You are having to explicitly launch Windows. I'm presuming Win/95 or /98, since it's one of the releases with DOS underneath as opposed to the NT code base. It's not easy to even NEED this feature - the option that brings up DOS mode by default isn't that widely known. Offhand, I'd say your system is sufficiently dirty that you should reinstall Windows so that it will reset all those broken parts. Just reinstall, don't reformat. Good luck!
 
Randall Twede
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tim,
I would if I could but i dont have the CD. However I found the answer to the problem and directions for fixing it. It is a different trojan than I have had before called Dolly http://anti-trojan.virtualave.net/page31.html
it says I have to deletete those lines from autoexec but it said something about editing win.ini first (or something) I'm going to read it now just wanted to let everyone know
hmm it says some versions make it so you cant run regedit. maybe that explains why i get a message saying system administrator has disabled that...them maybe not. anyway thanks to someone out there on the web I will be able to at least improve things.
[This message has been edited by Randall Twede (edited August 12, 2001).]
 
Randall Twede
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok it seems i have the latest version 1.7
I can delete the executables and fix autoexec but I cant edit the registry and dont have a back-up. So what will happen? windows will just try to run something it cant and give me a stupid warning or something? If thats all, I guess I can live with that for now.
any other advice about my autoexec file? should I try deleting this line
c:\windows\win.com
or perhaps make it the last statement in the file?
Is there any other line that should be there for tomcat?
[This message has been edited by Randall Twede (edited August 12, 2001).]
 
Randall Twede
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well age of empires is saving games again instead of saying my disc is full
how ever my servlet is still giving an error


java.io.FileNotFoundException: ../webapps/examples/SiteLog.txt (The system cannot find the path specified)


that path has been working fine for over a year
the file is at: http://javaguy.yi.org/examples/SiteLog.txt
c:\program files\Apache Group\Apache\tomcat\jakarta-tomcat\webapps\examples\SiteLog.txt
the servlet is at: http://javaguy.yi.org
after you hit login
c:\program files\Apache Group\Apache\tomcat\jakarta-tomcat\webapps\examples\Web-inf\classes\MyCookieServlet.class

im running windows without autoexec.bat for now
well im shutting down the server(among other things) now so i can play a game without lagging, so the links above will be dead
[This message has been edited by Randall Twede (edited August 12, 2001).]
reply
    Bookmark Topic Watch Topic
  • New Topic