Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

FlowStone User Defined Modules Manager

For general discussion related FlowStone

FlowStone User Defined Modules Manager

Postby pwesynthmaker » Tue Mar 29, 2022 3:36 pm

FlowStone User Defined Modules Manager

Download Link:
https://www.inventfx.com/_inventfxfstone/flwstmgr.zip
Filename: flwstmgr.zip

Written as a powerful batch file script. Extensively tested for errors and compiled into executable with Licensed Commercial Version Advanced Batch To Executable Converter Software Designed by By B. Dargo.

A versatile management command line style console for the custom user modules folder.
This folder is located in a 'hidden' directory "AppData" on Windows Computers and the full path is:

==========
C:\Users\<Username>\AppData\Roaming\Flowstone\Modules

Optional Sub-folders:

User Defined (Add a user defined folder name to the toolbox tag list on far left of FlowStone program to initially utilize the FlowStone User Defined Modules Manager.)

Deleted Modules (automatically created by FlowStone when a toolbox file is deleted.)
==========

The Flowstone User Defined Modules Manager is self-explanatory and easy to use with the following features:

Initial creation of the main FlowStone User Defined Modules folder if non-existent.

Instant backup of the main folder as FlowStone_bak containing all existing files and modules.
Each new backup automatically replaces older files with newer ones and adds any new ones automatically.
Optional add files only backup will overwrite existing files and add any new ones without removing exclusive files in FlowStone_bak folder.

Instant restore of the entire FlowStone folder from the FlowStone_bak folder.
Each new restore automatically replaces newer files with older ones and removes any new ones automatically.
Optional copy files only will restore previous files without removing any newer files in FlowStone folder.

Also manages the Deleted Modules folder.

Access and use the Windows %SystemRoot% Recycle Bin folder with option to view and/or clean it immediately. It opens immediately on the Desktop along with the other FlowStone folders for interactive use.

All options are simply AI YES or NO with absolutely no guesswork needed. Very simple to use even for beginners and faster than light operation for the well versed 'Flowstoners' in our midst.
Attachments
flwstmgr.jpg
flwstmgr.jpg (29.66 KiB) Viewed 5104 times
Last edited by pwesynthmaker on Sat Oct 05, 2024 8:26 pm, edited 12 times in total.
https://www.inventfx.com/_inventfxfston ... fstone.htm
Inventor eFX Technology FlowStone WebPage

https://www.inventfx.com/
Inventor eFX Technology
User avatar
pwesynthmaker
 
Posts: 77
Joined: Fri Feb 12, 2016 7:18 pm

Re: FlowStone User Defined Modules Manager

Postby pwesynthmaker » Tue Mar 29, 2022 3:53 pm

For those whom have the savvy and to comply with forum guidelines I am providing my original batch script code..

FlowStone User Defined Modules Manager Batch to Exectuable Script

==========

:: RUN AS ADMINISTRATOR ::

@echo off
if _%1_==_payload_ goto :payload

:getadmin
echo %~nx0: elevating self
set vbs=%temp%\getadmin.vbs
echo Set UAC = CreateObject^("Shell.Application"^) >> "%vbs%"
echo UAC.ShellExecute "%~s0", "payload %~sdp0 %*", "", "runas", 1 >> "%vbs%
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
goto :eof

:payload


color f0

echo.
echo.
echo FLOWSTONE USER DEFINED MODULES MANAGER
echo.
echo AT ANY TIME DURING THE FOLLOWING PROCEDURES ...
echo TO EXIT WITHOUT CHANGE ...
echo ONLY PRESS "X" CHECK BOX IN UPPER RIGHT OF THIS WINDOW!
echo.
echo.

pause


if exist %UserProfile%\AppData\Roaming\FlowStone (

goto :flwstfldr

) else goto :chkflwstfldrbak

:flwstfldr

color f1

echo.
echo.
echo To OPEN AppData\Roaming FlowStone Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key For Backup Folder Option(s) ...

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :mngflwstfldrbak

start %UserProfile%\AppData\Roaming\FlowStone

echo.
echo.

pause

goto :rcyclbin

:mngflwstfldrbak

if exist %UserProfile%\AppData\Roaming\FlowStone_bak (

goto :add2flwstfldrbak

) else goto :mkflwstfldrbak

:add2flwstfldrbak

color f2

echo.
echo.
echo To ONLY ADD NEW/CHANGED FILES To FlowStone_bak Backup Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key For BACKUP COMPLETE Option ...

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :mkflwstfldrbakup

xcopy "%UserProfile%\AppData\Roaming\FlowStone" "%Userprofile%\AppData\Roaming\FlowStone_bak" /i /r /h /s /e /k /o /x /y

echo.
echo.

pause

echo.
echo.
echo Open The FlowStone-bak Folder To Confirm Added Files ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To Continue ...

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :delfldr

start %UserProfile%\AppData\Roaming\FlowStone_bak

echo.
echo.

pause

goto :rcyclbin

:mkflwstfldrbak

color 2f

echo.
echo.
echo To BACKUP COMPLETE AppData\Roaming FlowStone Folder
echo To FlowStone_bak Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To EXIT.

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :exit /b

goto :bkupflwstfldr

:mkflwstfldrbakup

color 2f

echo.
echo.
echo To BACKUP COMPLETE AppData\Roaming FlowStone Folder
echo To FlowStone_bak Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key For Restore FlowStone Folder Option ...

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :flwstfldrbak

echo.
echo TO EXIT WITHOUT CHANGE ...
echo ONLY PRESS "X" CHECK BOX IN UPPER RIGHT OF THIS WINDOW!
echo.
echo ... OR ... TO CONFIRM ACTION
echo BACKUP COMPLETE AppData Roaming FlowStone Folder ...
echo.
echo Continue As Instructed Below.
echo.
echo.

pause

if exist %UserProfile%\AppData\Roaming\FlowStone_bak (

goto :rmflwstfldrbak

) else goto bkupflwstfldr

:rmflwstfldrbak

rmdir /q /s %UserProfile%\AppData\Roaming\FlowStone_bak
xcopy "%UserProfile%\AppData\Roaming\FlowStone" "%Userprofile%\AppData\Roaming\FlowStone_bak" /i /r /h /s /e /k /o /x /y

:bkupflwstfldr

xcopy "%UserProfile%\AppData\Roaming\FlowStone" "%Userprofile%\AppData\Roaming\FlowStone_bak" /i /r /h /s /e /k /o /x /y

echo.
echo.

pause

echo.
echo.
echo Open The FlowStone-bak Folder To Confirm Backup ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To Continue ...

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :delfldr

start %UserProfile%\AppData\Roaming\FlowStone_bak

echo.
echo.

pause

goto :rcyclbin

:chkflwstfldrbak

if exist %UserProfile%\AppData\Roaming\FlowStone_bak (

goto :flwstfldrchk

) else goto :mkusrfldr

:flwstfldrchk

if exist %UserProfile%\AppData\Roaming\FlowStone (

goto :flwstfldrbak

) else goto :rstrflwstfldr

:flwstfldrbak

color fa

echo.
echo.
echo To ONLY COPY FILES From FlowStone_bak Folder
echo To AppData\Roaming FlowStone Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To Continue For REPLACE COMPLETE Option ...

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :rplcflwstfldr

xcopy "%UserProfile%\AppData\Roaming\FlowStone_bak" "%UserProfile%\AppData\Roaming\FlowStone" /i /r /h /s /e /k /o /x /y

echo.
echo.
echo Open The FlowStone Folder To Confirm Copied FIles ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To Continue ...

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :delfldr

start %UserProfile%\AppData\Roaming\FlowStone

echo.
echo.

pause

goto :rcyclbin

:rstrflwstfldr

color af

echo.
echo.
echo To RESTORE COMPLETE AppData\Roaming FlowStone Folder
echo From FlowStone_bak Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To EXIT.

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :exit /b

xcopy "%UserProfile%\AppData\Roaming\FlowStone_bak" "%UserProfile%\AppData\Roaming\FlowStone" /i /r /h /s /e /k /o /x /y

echo.
echo.
echo Open The FlowStone Folder To Confirm Restore ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To Continue ...

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :delfldr

start %UserProfile%\AppData\Roaming\FlowStone

echo.
echo.

pause

goto :rcyclbin

:rplcflwstfldr

color af

echo.
echo.
echo To REPLACE COMPLETE AppData\Roaming FlowStone Folder
echo From FlowStone_bak Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To Continue ...

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :delfldr

echo.
echo TO EXIT WITHOUT CHANGE ...
echo ONLY PRESS "X" CHECK BOX IN UPPER RIGHT OF THIS WINDOW!
echo.
echo ... OR ... TO CONFIRM ACTION
echo REPLACE COMPLETE AppData Roaming FlowStone Folder ...
echo.
echo Continue As Instructed Below.
echo.
echo.

pause

rndur /q /s %UserProfile%\AppData\Roaming\FlowStone_bak
xcopy "%UserProfile%\AppData\Roaming\FlowStone_bak" "%UserProfile%\AppData\Roaming\FlowStone" /i /r /h /s /e /k /o /x /y

echo.
echo.
echo Open The FlowStone Folder To Confirm Replace ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To Continue ...

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :delfldr

start %UserProfile%\AppData\Roaming\FlowStone

echo.
echo.

pause

goto :rcyclbin

:delfldr

if exist %UserProfile%\AppData\Roaming\FlowStone\Modules\"Deleted Modules" (

goto :viewdelfldr

) else goto :exit /b

:viewdelfldr

color f5

echo.
echo.
echo To Open The FlowStone Deleted Modules Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key For CLEAR FlowStone Deleted Modules Option ...
set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :clrdelfldr

%SystemRoot%\Explorer.exe %UserProfile%\AppData\Roaming\FlowStone\Modules\Deleted Modules

echo.
echo.

pause

goto :rcyclbin

goto :clrdelfldr

:clrdelfldr

color df

echo.
echo.
echo To CLEAR FlowStone Deleted Modules Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key For REMOVE Deleted Mudules Folder Option ...

set "reply=n"
set /p "reply=%USERREG%"
if /i not "%reply%" == "y" goto :rmdelfldr

rmdir /q /s %UserProfile%\AppData\Roaming\FlowStone\Modules\"Deleted Modules"
mkdir %UserProfile%\AppData\Roaming\FlowStone\Modules\"Deleted Modules"

:rmdelfldr

color 5f

echo.
echo.
echo To REMOVE FlowStone Deleted Modules Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To EXIT.

set "reply=n"
set /p "reply=%USERREG%"
if /i not "%reply%" == "y" goto :exit /b

rmdir /q /s %UserProfile%\AppData\Roaming\FlowStone\Modules\"Deleted Modules"

goto :exit /b


:mkusrfldr

color e4

echo.
echo.
echo CAUTION!
echo.
echo Request Required To Create Initial FlowStone Modules Folder ...
echo.
echo To Create FlowStone Modules Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To EXIT.

set "reply=n"
set /p "reply=%USERREG%"
if /i not "%reply%" == "y" goto :exit /b

mkdir %UserProfile%\AppData\Roaming\FlowStone\Modules

echo.
echo.

pause

goto :flwstfldr


:rcyclbin

color f4

echo.
echo.
echo OPEN Recycle Bin Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To Exit ...

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :exit /b

start shell:recyclebinfolder

echo.
echo.

pause

color 4f

echo.
echo.
echo CLEAR Recycle Bin Folder ...
echo Type "Y" For YES Then Press "ENTER".
echo.
echo Or Press Any Key To Exit ...

set "reply=n"
set /p "reply= %USERREG%"
if /i not "%reply%" == "y" goto :exit /b

rd /s /q C:\$RECYCLE.BIN

pause

:eof

:exit/b

exit

==========
https://www.inventfx.com/_inventfxfston ... fstone.htm
Inventor eFX Technology FlowStone WebPage

https://www.inventfx.com/
Inventor eFX Technology
User avatar
pwesynthmaker
 
Posts: 77
Joined: Fri Feb 12, 2016 7:18 pm


Return to General

Who is online

Users browsing this forum: No registered users and 95 guests