Menu

#8 .bat file dangerous?

open
Andrei
None
5
2004-08-03
2004-08-03
gogodiva
No

Pretty dangrous looking .bat file for a path not specified.

Is this suppoed to be what it looks like?

copy of Pears for Windows.bat
-------------------

@ECHO OFF
@ECHO Use this file to start the program under Windows.
cd .
chdir
del *.pyc /q
start pythonw -OO pears.py
exit

---------------------

Discussion

  • gogodiva

    gogodiva - 2004-08-03
    • assigned_to: nobody --> project5
     
  • Andrei

    Andrei - 2004-08-10

    Logged In: YES
    user_id=863721

    You mean the del *.pyc? I see no harm in that. The only way
    it could hurt is if someone installs Pears in a directory
    where other compiled python files exist, for which the py
    source is not available, but which are required by some
    python program. People who install several programs in the
    same folder (don't know any of them), should be aware of the
    fact that they may lose files belonging to one program
    because of the other one, even during the installation
    procedure.

     

Log in to post a comment.