Share

Pears

Tracker: Bugs

5 .bat file dangerous? - ID: 1002440
Last Update: Comment added ( project5 )

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

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


gogodiva ( chewchewy ) - 2004-08-03 06:35

5

Open

None

Andrei

None

None

Public


Comment ( 1 )

Date: 2004-08-10 18:03
Sender: project5Project Admin

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.


Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
assigned_to nobody 2004-08-03 06:35 chewchewy