[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: LFN max. length in 4DOS?



Hi Carl,

Just let you know that you can use "start _ run.cmd" (or "start /hid run.cmd") to hide the CMD window when executing .CMD files in this case. But sure, you can just use "%@SFN["lfn"]" to convert LFNs to SFNs instead too.

Wengier


On Thursday, June 16, 2016 12:11 AM, Carl Distefano wrote:


Reply to note from "Wengier W" mailto:dmarc-noreply@xxxxxxxx (Redacted
sender "wengierwu" for DMARC) Thu, 16 Jun 2016 03:43:46 +0000 (UTC)

Wengier,

> By the way, if you indeed want to execute commands or load files
> with really long names, you can simply save the command or file
> names to a .CMD file, e.g. run.cmd, and then execute "start
> run.cmd" in the vDos-lfn command line.

Yes, I've tried that method, but it brings back the flashing CMD.EXE
screen. So I prefer to use a 4DOS .BTM file and %@SFN["lfn"] to convert
LFNs to SFNs. It works nicely. I now have an XPL routine that grabs the
LFN from the screen, creates the .BTM file on the fly, and executes it.


--
Carl Distefano
mailto:cld@xxxxxxxx