How to set Path variable for non-executable file extensions in 4DOS

Feb 19, 2019
5
0
Hi, I'm using 4DOS with vDosPlus to run some legacy MS-DOS software, I need to add non-executable files to the search path. The original ms-dos system used APPEND to achieve this, but 4dos does not support the APPEND command. So how can I add non-executable file types to the search path in 4DOS?
Any help much appreciated
David
 
Feb 19, 2019
5
0
Thanks for this, not clear how to use ESET.
In my autoexec I have:

APPEND C:\SA2000;C:\SA2000\USER;C:\UTL

Where and how would I write this using ESET

Thanks for your help
David
 
Feb 19, 2019
5
0
I put: ESET %path in the autoexec

%path includes the directory where the .DTA file is located
but I'm still receiving a "File not found" error.

I understand that the path variable only searches for executable files, what I need is a command that will search the specified path for non-executable files such as .DTA

Thanks for your help
David
 
After a little experimenting, I have found a simple way that seems to work here, at least using TCCLE14, which should be compatible to 4DOS using this simple commands.

I made an executable extension:
set *.ini="C:\Windows\System32\notepad.exe"

I added the TCCLE14 directory to my %PATH variable:
set path=%path;"c:\program files (x86)\jpsoft\tccle14\"

Issued the command "updater.ini", which brought up the file in Notepad, as expected.
I then changed to the root directory of my drive and issued the command again. The file came up in Notepad, again.

Isn't that what you wanted to achieve?
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,447
88
Albuquerque, NM
prospero.unm.edu
If memory serves, APPEND was a kind of compatibility kludge for very ancient MS-DOS programs — the kind that used File Control Blocks and didn't understand subdirectories. It worked by patching the internal structures of MS-DOS. Unless you are running (A) an application from Ronald Reagan's first term, under (B) an actual DOS operating system, APPEND is not likely to be of any use to you.

What, exactly, are you trying to do?
 
May 20, 2008
11,388
99
Syracuse, NY, USA
If memory serves, APPEND was a kind of compatibility kludge for very ancient MS-DOS programs — the kind that used File Control Blocks and didn't understand subdirectories. It worked by patching the internal structures of MS-DOS. Unless you are running (A) an application from Ronald Reagan's first term, under (B) an actual DOS operating system, APPEND is not likely to be of any use to you.

What, exactly, are you trying to do?
Yup. I think that's exactly what he wants to do ... what APPEND did in MSDOS.

Here's the description of APPEND from the MSDOS 5.0 Users Manual (1991).

APPEND

Enables programs to open data files in specified directories as if these files were in the current directory.

The specified directories are called appended directories because, for the sake of opening data files, they can be found as if they were appended to the current directory.
 
Similar threads
Thread starter Title Forum Replies Date
V Set path permanently from within TCC? Support 3
S Debugger keeps breaking with no break point set. Support 1
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
R How to? Set default application in a special folder Support 4
A How to? Set up SMTP password in TCC-RT Support 1
vefatica WAD More SET /A woes Support 4
vefatica SET /A and multidimensional array. Support 1
D Need to set Take Command font size when switching to high DPI display Support 0
P "Set" command behavior - a bug? Support 3
M How to? Set the ribbon titles to mixed case Support 1
X How to set %_INIREAD result to variable Support 5
M WAD Set statements in () causes problems Support 8
M How to? How to set a default TITLE for newly opened tab? Support 2
M Fixed Set "VAR=VAL" format causes problems Support 12
vefatica SET /A var=expression=digits Support 3
cxxl Set encoding for batch file Support 4
B TCC 21.01.50 Problem with ALIAS /r and SET /r Support 2
vefatica SET /A var\=...? Support 10
dcantor Documentation SET /T: missing from heading Support 0
fpefpe Documentation Set /v Support 4
vefatica What's SET /Z? Support 1
R Fixed set /r has stopped working in build 35 Support 4
BeechComer Debugger: how to set %1 variable? Support 3
fpefpe How to? Global variable set /v Support 4
fpefpe Documentation Can the title line of tcmd be set? Support 4
J How to set working directory Support 10
Jay Sage Failure of ACTIVATE to Set a Window Position Support 3
rps Fixed Win "set /p" not working in V17 build 53 Support 3
vefatica SET /A "var%=N", TCC vs. CMD Support 0
J Set environment variable from stdout of command Support 3
B How to? Pre-set _tcfolder on startup when Folders is set Auto-Hide Support 6
Dan Glynhampton Fixed @version "force" flag not working, and unable to set separator Support 3
R WAD /= size ranges not set correctly Support 5
S How to? Set the timestamp of ZIP command built archive to match latest member Support 8
Mordachai Help! How to set parameters for script I'm debugging?! Support 6
Roedy SET= Support 2
A How to? Set up a log file for all command output Support 3
M Fixed character set in dir/copy Support 3
Phileosophos Fixed TakeCommand exits upon "set [" command Support 14
R How to set comspec to point to cmd.exe? Support 5
S WAD SET problem - array element initialization Support 11
C Wildcard expansion in FOR set Support 27
vefatica SET question Support 16
T Set 1% then Echo 1% Support 9
S SET /A question; HELP nits Support 8
noahcoad copy /w to FTP does not set time stamp Support 1
M A request for a new feature for the "set" command... Support 5
cgunhouse Accessing variables set using SET /U or SET /S Support 3
D Force For to treat set of values as text, not files Support 3
vefatica Regular expressions in FOR's set? Support 10

Similar threads