| T O P I C R E V I E W |
| Rookie1 |
Posted - 06/22/2008 : 4:09:33 PM Origin Version (Select Help-->About Origin): 8 Operating System: xp
Hi, 1. is it possible to make a script, which renames a Folder to the name of the project?
Example: The project is called "methan phi 1" and a folder in this project is called "g150". The script should rename the Folder "g150" to "methan phi 1".
2. Or a script which creates a new Folder with the name of the project? Like "methan phi 1"-Folder.
Thanks in advance! |
| 1 L A T E S T R E P L I E S (Newest First) |
| VincentLiu |
Posted - 06/23/2008 : 10:59:45 PM Hi Rookie1,
You may follow the ways below to operate on you project.
1.To rename a Folder to the name of the project Firstly, click the folder you want to rename. Then you may use the following script to get you want.
pe_cd; // Return to the top level or you can click the top level folder directly without this command str$ = %G; // Put the project name to a string variable pe_rename g150 str$; //remember to change the folder name you want to rename
2. To create a new Folder with the name of the project
pe_cd /; // return to the root folder str$ = %G; Pe_mkdir str$;
If you still have questions, please feel free to contact us.
Regards, Vincent OriginLab Technical Service Team |
|
|