topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday June 15, 2024, 12:09 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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.


Messages - cas_ady [ switch to compact view ]

Pages: [1]
1
Finished Programs / Re: DONE: make folder set out of a txt file
« on: December 21, 2018, 08:01 PM »
Hello friend,
Nice app you have there, unfortunately needs an update  :D.
I'm trying to run a bat file to make the folder structure to include also the folder of the  Text2Folders and no luck.
The app is requesting me all the time the root folder.
Until now I managed to generate the folder structure outside the Text2Folders directory but with the ROOT folder there.
So basically what I want to achieve:
Text folder should contain:
1.Folder
2.Folder
3.Folder
....
And after running the bat the end result to be
1.Folder
2.Folder
3.Folder
........
Text2Folders
AND NOT
ROOT\1.Folder
ROOT\2.Folder
ROOT\3.Folder
.....
Text2Folders

So now I'm running the following command line:
start Text2Folders.exe "..\ROOT" "folder_structure.txt" -q

Unfortunately the following code will not work.
start Text2Folders.exe "..\" "folder_structure.txt" -q

Also
As improvement the program should be capabile to accept extra parameters by running in code mode.
For example all the parameters from "config.ini" should be possible to be added in command line. Now you have to run the program
to set the parameters (like open the folder structure after is created) generate the config file and after run the command line.
Also running the program with some parameters will allow you to add "special" things only for that command line run.
Another improvement could be some special characters for adding some comments in the folder_structure.txt, characters that will indicate the software that line is only a commend (all programing software have this feature).
And the last one improvement (to write less text in the folder_structure.txt file) something like the below example.
root\folder_a1\folder_a2\folder_a3\
root\folder_a1\folder_a2\folder_b3\
root\folder_a1\folder_b2\folder_c1\folder_d1
root\folder_a1\folder_b2\folder_c1\folder_d2
To be written like
[root\folder_a1]
    [folder_a2]
         folder_a3
         folder_b3
    [folder_b2\folder_c1]
         folder_d1
         folder_d2
So the square brackets to be heritage for the below text.
Thank you for your time.
 

Pages: [1]