News:

MultiCommander v16.6 is released!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - SG-1 Charpy

#1
 ;D Wonderfull it's working perfectly !!!
i tried the StrSplit but not with the quotes '  >:(
And the source folder will always be:
C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\%LETTER%\%NAME%\CMXXXX)
Thanks Jungle, this will save me time in my work. I create programs for CNC with two different program and I inject them directly into the machines so that operators can use them after.
The post is for me solved.
#2
hi, i would like to create an user command for create 2 folders (A16 and AGFT) and sub-folders from path of source windows:
Here my initial folder (different each time i use the command):
For example, here my source path:
"C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\L\LABART\CM4000"
First create folder "A16"
Path is now
"C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\L\LABART\CM4000\A16"
Create folder "L" inside the folder A16
Path is: "C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\L\LABART\CM4000\A16\L"
Create inside another folder "LABART" inside the folder L
Path: "C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\L\LABART\A16\L\LABART"
Create inside another folder "CM4000"  inside the folder LABART
Path: "C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\L\LABART\A16\L\LABART\CM4000"
and doing the same for the folder AGFT
Path: "C:\Users\Utilisateur\Documents\bSolid\PROGRAMMES\CHANTIERS\L\LABART\AGFT\L\LABART\CM4000"
See attachement for more screenshot in order a1 to a5
Here the beginning of the script:
@var $path0 = GetSourceFocusPath();
@var $filename = 'C:\temp\Path.txt';
@var $format = 0;
SaveStringToFile( $filename, $path0, $format , 1);

After i can't trim the the path to create folder
Actually i use the create folder button for all the folders (use A16;AGFT;L;LABART;CM4000 command for it) and move the folder after
I think it's possible to make it easly with multi-script !
Thanks