Skip to main content
1-Visitor
Apr 3, 2013 4:27 AM UTC
Solved

Can't able to purge

Hi

i can't able to purge the working directory, hereby i aslo attached the screen shot of the error. whats the problem with me

can any help me. am using creo 2.0

Thanks,

Vinoth


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
14-Alexandrite
Apr 5, 2013 2:43 PM UTC

Dear Vinoth,

here is the short video tutorial for you

Regards,

Vladimir

47 replies

24-Ruby III
Apr 3, 2013 6:04 AM UTC

Vinoth,

you have to modify environment variable PATH and add a path similar to the following one at the end of definition:

C:\PTC\Creo 2.0\Parametric\bin

Martin Hanak

Translate
vinoth1-VisitorAuthor
1-Visitor
Apr 4, 2013 5:03 AM UTC

sorry martin

i cant able to understand your point.

Translate
24-Ruby III
Apr 4, 2013 5:28 AM UTC

Vinoth,

find someone in your neighbourhood, how can manage your PC and ask him for a help.

You can also use GOOGLE to find out "How to set PATH variable in Windows"

Martin Hanak

Translate
14-Alexandrite
Apr 3, 2013 10:50 AM UTC

Hi all,

I know really good the problem with purge command .

If you use 32bit platform - everything is OK.

But if you use 64bit platform - sometimes do you need to set corect PATH (environment variable PATH - Thanks Martin Hanak ) only and sometimes do you need to change purge.bat file too.

Question is - where is the problem? - answer is - system does not recognise your corect platform (64bit)

Here is the solution for you:

You can edit purge.bat file and set/fix variable from:

@echo off

set MC=unset

if "%PROCESSOR%" == "INTEL_64" set MC=ia64_nt

if "%PROCESSOR%" == "INTEL_486" set MC=i486_nt

if "%PROCESSOR_ARCHITECTURE%" == "IA64" set MC=ia64_nt

if "%PROCESSOR_ARCHITECTURE%" == "AMD64" set MC=x86e_win64

if "%PROCESSOR_ARCHITECTURE%" == "x86" set MC=i486_nt

if not "%MC%" == "unset" goto mc_done

echo ERROR Cannot detect what machine type you have.

echo Please make one of the following settings:

echo.

echo set PROCESSOR=INTEL_486 - For Windows NT Intel based machines.

echo.

echo set PROCESSOR=INTEL_64 - For Windows Intel Itanium based machines.

echo.

exit

:mc_done

set PRO_MACHINE_TYPE=%MC%

.

.

.

To:

@echo off

set MC=x86e_win64

set PRO_MACHINE_TYPE=%MC%

.

.

.

In the attachment you can find my (modified) purge.bat file for Windows XP 64bit

Regards,

Vladimir

Translate
vinoth1-VisitorAuthor
1-Visitor
Apr 4, 2013 5:04 AM UTC

Hi Vladmir

what i have to do with your attachment, please explain me more detailed.

Thanks,

Vinoth

Translate
14-Alexandrite
Apr 4, 2013 5:42 AM UTC

Hi Vinoth,

Download purge.bat file and then Replace original file in ProE/Creo folder (....instalation folder\bin\purge.bat)

For example: D:\ptc\proeWF5\bin\purge.bat

Regards,

Vladimir

Translate
14-Alexandrite
Apr 5, 2013 10:36 AM UTC

I have crerated new idea:Update purge.bat file for 64bit OS for this problem

Vote, if you like it.

Regards,

Vladimir

Translate
1-Visitor
May 17, 2013 2:04 AM UTC

Dear Vadimir Palffy

I have a problem with purge command at Creo 2.0 (M040)

When I kick at Utilities-> Open system window -> this windows immediately out.

At Creo message log is (Logout of process to leave Operating System)

Please help me.

thanks so much!

Translate
14-Alexandrite
May 17, 2013 8:11 PM UTC

Dear Dien,

The message "Logout of process to leave Operating System" - means - that system has closed the command window in the Creo.

Can you try to use the purge command with mapkeys? - I have created the mapkey for you "key sequence is pu in the Creo - see the attachment (copy mapkey to your confic.pro file)

Best Regards,

Vladimir

Translate
1-Visitor
Jun 26, 2013 3:14 PM UTC

I have the same problem with the DOS window shutting down instantly. I can work around for purge, but I don't have any other way to edit a repeat region on a table. I would like to find out why the DOs window crashes right away?

Translate
1-Visitor
Jul 18, 2013 8:29 AM UTC

hai i getting the error somthing like this as attachedpurge_error.bmp

Translate
14-Alexandrite
Jul 18, 2013 8:45 AM UTC

Hi

Do you need to set system Environment Variable = PATH to your purge.bat file

for example: d:\ptc\proeWF4\bin\

Regards,

Vladimir


Translate
1-Visitor
Jul 18, 2013 8:58 AM UTC

Dear Vladimir,

i already set path by seeing the previous comments, eventhough i am not able to purge.... its creating the big problem please provide me solution.......the same error posted above is appearing i can't understand the source of error

Translate
1-Visitor
Jul 18, 2013 1:50 PM UTC

Maybe you should try the spekan purge software, this works very well to purge files. I found a link here: http://files.engineering.com/getfile.aspx?folder=0e83f216-7c5c-4486-b198-c9333315cfff&file=spurge_3.1.zip

Translate
1-Visitor
Jul 18, 2013 1:54 PM UTC

I can purge by opening up a dos prompt and going into the directory in question. The purge command still works, I just can't open a dos prompt from the pull down "windows/open system window". The larger problem I have is that I cannot edit filters on a repeat region in a table because the dos window crashes when it tries to open.

Translate
17-Peridot
Jul 18, 2013 3:42 PM UTC

Brian, you might open a customer service case to help you resolve this. The Customer service tech can get online with you and see if they can capture the event that causes a problem. If you do not have access to the customer service part of the PTC site, please get with your IT administrator.

Translate
10-Marble
Aug 13, 2013 10:09 PM UTC

This purge issue is seeming to get worse, while I am aware of the global variable setting for the PATH to the PURGE.BAT I have recently found that even that is not working, as I have just had a reinstall of my system 4 weeks ago after window update corrupt the OS, I also installed M050 at the same time, and I couldn't get the PURGE command to work.

So, I decided to find a simpler solution.

I made a copy of the origninal PURGE.BAT file

purge1.JPG

Then I edited the PURGE.BAT as follows

purge2.JPG

This is now my purge.bat file.

The main line is the 3rd from the bottom, it is the location of the purge.exe file.

And the the SET MC= command at the top is the system version installed " hint" it is in the path statement for the location PURGE.EXE

It appears that most of the purpose of the Purge.bat is to establish the path location to call the PURGE.EXE.

So I just made it simple and told it exactly where to look without the need to go to global variables, as our IT dept, is really craking down with restriction on what we can run and edit.

This solution has worked for me, and at this momnet I haven't seen any side effects.

Always remember, when you are experimenting, alway back up the files first, so you can undo it, if you make a mistake.

just some ideas for comment.

Peter

Translate
Sep 10, 2014 1:17 PM UTC

I am new for this option ,can you please tell what is purging? and what is the use of it?

Translate
Dale_Rosema
23-Emerald IV
Sep 10, 2014 2:16 PM UTC

When you save files in Pro-E, it indexes the extension. (i.e. part.prt.1, part.prt.2 part.prt.3, ....)

So after many saves you will have a lot of extra files around. Once you are set with your design (or a good intermediate step) you can purge some or all of the old extensions. (When you open a part, is automatically selects the highest extension of the part - part.prt.58 if that is the latest)

So depending upon the purge program, you can save the latest however many extensions in case a file is corrupted and you need to go back to a previous version.

Hope that helps,

Dale

Translate