Topic: File name in text reg (1 of 4), Read 83 times
Conf: Startup, File Open, Exit
From: Clint Danbury
Date: Wednesday, May 10, 2000 09:31 AM

I don't remember if I asked this a few months ago or not. I don't know
if this is a bug or just a new thing. Anyway, if anybody reading would
care to try and verify-or-refute my findings, I would be grateful...

In my source files, there are occasional instances of stuff such as...

Include H:\Some\Ridiculously\Long\Path\To\Happiness\XYZ.ASM


In vedit for Ms.Dos, I could put the long stuff in a text register and
tell the ~F~ile, ~O~pen stuff that the name of the file is "|@(0)" (no
quotes) and Vedit would open that exact file. Really cool stuff.

Whooops,,, Can't do that in Vedit For NT.

 


Topic: Re: File name in text reg (2 of 4), Read 82 times
Conf: Startup, File Open, Exit
From: Ted Green
Date: Wednesday, May 10, 2000 11:51 AM

Although a VEDIT construct such as "|@(0)"
can be used for the filename in DOS version
file-open dialog box, it cannot be used in
the Window version. The reason is that the
Windows version checks that what is entered
is a real filename; the DOS version simply
passes whatever is entered to the
File_Open() command.

One work-around is to copy the full pathname
to the clipboard with Ctrl-C. Then paste
it into the file-open dialog box with
Ctrl-V.

Ted.

 


Topic: Re: File name in text reg (3 of 4), Read 73 times, 1 File Attachment
Conf: Startup, File Open, Exit
From: David Cohen
Date: Saturday, December 02, 2000 11:18 AM

Ted, I am not sure if I am following you correctly, but I have a macro in which I build up a filename. I am enclosing the macro so you can check the code. Note this macro also is recursive, a topic I didn't see covered in the manual. As you will see, I do access files using the |@(#x)construct and I use the windows version. Note, there is a separate problem in DOS on pathname length, nothing to do with Vedit that has caused me grief in backing up from DOS using Arcada tape backup software.

 
Vedit macro file

 


Topic: Re: File name in text reg (4 of 4), Read 73 times
Conf: Startup, File Open, Exit
From: Christian Ziemski
Date: Sunday, December 03, 2000 07:19 AM

I'm not Ted, but here is a possible answer:

Clint and Ted are talking about the File-Open _dialog_ and you are
using the File_Open() _command_ inside a macro.

That are different things.


HTH

Christian