Post by TheFeDuke on Mar 5, 2016 0:14:14 GMT -5
I am having difficulty in using the base name of an alternate INI file when starting SPFLite by command.
First, I have a documentation comment. I inferred the use of this option from the example. For the example to work, the SPFLite program folder must be in the Current Directory or in the PATH. I only attempted using CD. The example used the form '-I'. I noticed that for '-BROWSE' and '-VIEW', help describes short form usage, but not for '-INIT'.
Here is my test run:
Moreover, the Current Directory got filled with this clutter:
First, I have a documentation comment. I inferred the use of this option from the example. For the example to work, the SPFLite program folder must be in the Current Directory or in the PATH. I only attempted using CD. The example used the form '-I'. I noticed that for '-BROWSE' and '-VIEW', help describes short form usage, but not for '-INIT'.
Here is my test run:
C:\Users\Jani.Bride>PushD "C:\Program Files\SPFLite"
C:\Program Files\SPFLite>Dir "SPFL*.exe"
Volume in drive C is Windows
Volume Serial Number is 4479-1C9B
Directory of C:\Program Files\SPFLite
01/23/2016 12:56 PM 432,128 SPFLite.exe
12/03/2015 02:24 PM 429,568 SPFLite.V8.3.5337.exe
01/23/2016 12:56 PM 432,128 SPFLite.V8.3.exe
02/22/2016 01:40 PM 431,616 SPFLite.V8.4.6026.exe
02/24/2016 03:50 PM 432,128 SPFLite.V8.4.diags.exe
02/22/2016 01:40 PM 431,616 SPFLite.V8.4.exe
02/24/2016 02:54 PM 432,128 SPFLite84.beta2.diags.exe
03/01/2016 12:22 AM 431,616 SPFLite84.exe
8 File(s) 3,452,928 bytes
0 Dir(s) 63,575,760,896 bytes free
C:\Program Files\SPFLite>Dir "C:\Users\Jani.Bride\documents\SPFLite\*.ini"
Volume in drive C is Windows
Volume Serial Number is 4479-1C9B
Directory of C:\Users\Jani.Bride\documents\SPFLite
03/04/2016 12:50 PM 2,244 SPFBeta.INI
03/04/2016 06:27 PM 2,290 SPFLite.INI
2 File(s) 4,534 bytes
0 Dir(s) 63,575,760,896 bytes free
C:\Program Files\SPFLite>Call SPFLite somenew.txt
C:\Program Files\SPFLite>Call SPFLite -I "C:\Users\Jani.Bride\documents\spflite\SPFlite.ini" somenew.txt
C:\Program Files\SPFLite>Call SPFLite -I SPFLite somenew.txt
C:\Program Files\SPFLite>Call SPFLite -I "C:\Users\Jani.Bride\documents\spflite\SPFbeta.ini" somenew.txt
C:\Program Files\SPFLite>Call SPFLite -I SPFbeta somenew.txt
There are five CALLs to SPFLite after setting up and describing the environment:- Worked as expected and opened the text file tab.
- Worked as expected and opened the text file tab. Used correct .INI .
- Started Default INI dialog for new installation and then opened the text file tab. 'opt' command showed INI file is: 'SPFLite'. (no path information)
- Worked as expected and opened the text file tab. Used correct .INI .
- Started Default INI dialog for new installation and then opened the text file tab. 'opt' command showed INI file is: 'SPFbeta'. (no path information)
Moreover, the Current Directory got filled with this clutter:
Command > Scroll > CSR
_ New _ FilePath _ Recent _ Found _ Opened _ Favorites _ Flists _ Paths _ Profiles
File Path/Name> C:\Program Files\SPFLite\
File Patterns > *
Cmd Dir+ Name Date- Size
_____ ..\
_____ VSAVE\ 2016-03-04 12:40
_____ THEMES\ 2016-03-04 12:40
_____ STATE\ 2016-03-04 12:40
_____ RUN\ 2016-03-04 12:40
_____ PROFILES\ 2016-03-04 12:41
_____ MACROS\ 2016-03-04 12:40
_____ Lib\ 2015-12-12 18:01
_____ JOBS\ 2016-03-04 12:40
_____ Filter Examples\ 2015-12-12 18:01
_____ FILELIST\ 2016-03-04 12:40
_____ CLIP\ 2016-03-04 12:40
_____ AUTO\ 2016-03-04 12:40
_____ SPFLite.SPR 2016-03-04 12:41 98
_____ SPFLite.ver 2016-03-04 11:20 14
_____ SomeNew.txt 2016-03-04 11:07 32
_____ SPFLite84.exe 2016-03-01 00:22 431,616
Line Commands: Add to favorites Browse Clone Delete DIR Edit EXclude
The uniform creation times show all of the signs of a new installation that should be in the Documents folder where SPFLite should have looked for the INI file, not the system SPFLite program folder.