how to use APPEND command in dosbox or freedos

January 16, 2019 at 12:31:45
Specs: Windows 10
Hi, I'm trying to use the Append command to make a file available globally, I used this format:

append c:\pe\pe.x
In DOSBox and FreeDOS (in virtualbox)

In both I receive:
Incorrect DOS version

So how do I use the Append command?
Any help appreciated
David

paddling upstream looking for the source


See More: how to use APPEND command in dosbox or freedos

Report •

#1
January 16, 2019 at 17:47:47
http://www.easydos.com/append.html

Note the format:

"APPEND [d:]path[;][d:]path[...]"

And this applies to MS-DOS (haven't used it in freedos or DOSBox)

"Channeling the spirit of jboy..."

message edited by T-R-A


Report •

#2
January 16, 2019 at 21:41:44
Thanks for your reply.
I'm only using an emulator - dosbox or freedos (in virtualbox) - I think the problem is there. I think the problem is there, so I need a solution that will work with a dos emulator

paddling upstream looking for the source


Report •

#3
January 17, 2019 at 07:50:30
Pretty sure append works by patching the running copy of DOS, so it'd have to be pretty picky about the version of DOS. I think there's a version specifically for FreeDOS, so see if you can't hunt that one down.

How To Ask Questions The Smart Way


Report •

Related Solutions

#4
January 17, 2019 at 08:42:12
Thanks for the reply. I think there's only 1 version of freedos 1.2 , so not sure what to look for and why append doesn't work. What version of dos do I need for append to work?
Thanks for any help

paddling upstream looking for the source


Report •

#5
January 17, 2019 at 09:25:11
It'd be specific to your version(s) of append on hand. Best bet for an answer would be to check the program's documentation for what it supports. If it supports the /? switch, it might give you an answer.

How To Ask Questions The Smart Way


Report •

#6
January 17, 2019 at 09:32:21
As I said I'm geting "incorrect dos version" when I type appen, don't know where to go from here

paddling upstream looking for the source


Report •

#7
January 17, 2019 at 19:11:28

Report •

#8
January 19, 2019 at 04:31:32
Hi David, it seems to me you have two problems:

a) as T-R-A advises you have incorrectly formatted the command.
The process may not have reached the command due to (b)

b) the error message you are receiving is unrelated to (a)
See: http://www.pcguide.com/ts/x/sys/ope...

Good Luck - Keep us posted.


Report •

#9
January 19, 2019 at 07:58:10
Everyone keeps saying OP's using invalid syntax, but I'm not seeing it from T-R-A's comment. It's literally "append" followed by a semicolon delimited list of files, drive letters optional. How's OP's syntax in violation of that?

How To Ask Questions The Smart Way


Report •

#10
January 21, 2019 at 04:46:49
Hi Razor,

I think the APPEND Command, extends the current PATH by appending another directory or directories to be searched.

File names are not included,
David appears to be including the filename PE.X in the command.

Good Luck - Keep us posted.


Report •

#11
January 21, 2019 at 08:19:56
http://help.fdos.org/en/hhstndrd/ba...

It is a third party command, so I guess it does depend on which exact version you get, but from what I can tell no version has anything to do with PATH. It's patching DOS' file listing functions, to add the specified files to every file search, like a reverse root kit. Otherwise it might as well be called APPEND.BAT.

:LOOP
SET PATH=%PATH%;%1
SHIFT
IF NOT "%1"=="" GOTO LOOP

How To Ask Questions The Smart Way


Report •

#12
January 21, 2019 at 13:03:08
Found the answer for DOSBox for any one interested:

in disk Z:

ver set 6 22

Then in C:

append c:\pe\

As far as I understand you can you can only do the APPEND command once per DOSBox session, the format's the same as PATH.

Hope this helps someone

paddling upstream looking for the source


Report •

#13
February 15, 2019 at 09:02:39
I understand that the difference between PATH and APPEND is that PATH is for executable files such as .exe, .com, .bat.
APPEND does the same, but for none executable files such as .dat, .txt

paddling upstream looking for the source


Report •

Ask Question