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

Re: Long Filename video



Reply to note from Harry Binswanger  Mon, 18 Aug
2014 17:43:27 -0400

Harry:

> One suggested improvement: when I was logged into J:\Eudora7
> (which is a SUBST alias for c:\db\Eudora7) LCD c:\program
> files, it didn't change the directory. But then when I entered
> C:, it came up in program files. So could you put in a thingy
> to check the logged in drive and if different from the one
> being called via LCD, that it would automatically change the
> drive?

Well, as you know, neither the EDITOR.EXE nor the COMMAND.COM nor
the CMD.EXE C(h)D(ir) command affords that amenity, so the purist in
me wants to resist your suggestion. On the other hand, the roller-
coaster rider in me wants to say, why not? It's not unreasonable to
expect CD so to behave . So here's an updated LFN frame (attached
and XYENCoded):

'%--_XYENCode_start--
{{5lca*,lcd*,ldel*,ldir*,lmd,lne*,lrd*,lsa*}}_[CLD_rev.8/18/14
]'^~B'BXes_1'Q2'DX~)~>',*','^',*','^~~="DIR"~>'JM2.bdir/x'Q2~~',*','^~>
0~>',*','^',*','^',*',_~',*',_Command'^',*',_~
',*',_fully_qualified_LFN'^',*',_~',*',_fully_quallifi
ed_SFN_(empty_if_LFN_does_not_exist)'^',*','^',*',_Common'^~~~~>~~>
',*','^~~>'JM2.GetPath'Q2',*','^~
+"\GETSFN.BAT"~>~+"\GETSFN.OUT"~>',*','^~'BXernv_~'Q2'BXwait'Q2~+"_goto_'.eof'^for_'/'/A_in_("+~+")_do_
echo_'/'/'?fsA>"+~"~>',*','^'BXsa_'/07,~'Q2'BXwa
it'Q2',*','^'BXdos/nv/x/z_/c_cmd.exe_/c_~'Q2'BXwait'Q2',
*','^'BXexist_~'Q2~)~>',*','^~
~
~>~<10~>~~>~',
*','^~+","+~~>'JM2.SVfile'Q2'BXwait'Q2',*
','^~~="'^"~>~~~~>~~~>',*','^~==0~>~~~~>',*','^~==~-1~>~+";~N"~>~~~~>~~',*','^~<0~>~~>~+"!3C;~N")<0~>
~
+"\"~>~~+~~>~~+""""~>~',*','^',*','^',*',_CALL_|_DEL
ete_|_CD_(ChDir)_|_RD_(RmDir)'^~~="CA"'|~~="
CD"'|~~="DEL"'|~~="RD"~>',*','^~>0~>
~
~="CD"~>',*',_Change_to_drive_in_LCD_command'.'^~<
SX07,~~>~+"'.")~{~<0~>',*','^~<
SX07,~~>~~>'BX~'.'Q2~~<
EI~>',*','^'BX~_~'Q2~)~>~~+"_"+~~>~'FF~~~~~~>~+"~>"~>~~>~~="&"~>~~~~>~+"_"+~~>~~~~+"_does_not_exist"~>~~',*','^',*','^',*
',_NEw_|_MD_(MkDir)'^~~="NE"'|~~="MD"~>~<1~>',*','^~~="NE"~>~~~="
/"~>~~~~',*','^~~>~"+~~>'BXsa_'/08,~

'Q2',*','^'BXdos/nv/x/z_/c_cmd.exe_/c_~'Q2'BXwait'Q2 ~ ',*','^'BXca~>0~>/~~_~'Q2 ~ ~>~~'RC'RC'BXsa'Q2~~',*','^~~="MD"~>'BXdos/nv/x/z_/c_cmd.exe_/c_mkdir_~'Q2 'BXwait'Q2~~~~+"_already_exists" ~ >~~',*','^',*','^',*',_SAve_as_LFN'^~~= "SA"~>~>0~>~~>~>1~>~~>~',*','^'DZ~>0~>~ +"\'|LSAD'|.TMP"~>'BXsad/nv_~'Q2'BXwait'Q2~~<1~>~'BXdos/nv/x/z_/c_cmd.exe_/c_copy/y_~_~< PV02~>>nul'Q2'BXwait'Q2~~~~="/NV"~>~~~+"_exists._Overwrite_it?_(y|N)~>~

~)<>"Y"~>~~~ ~ ~~~~',*','^',*','^~ ~ +"_LongFileName"~>~~B'^'^ '%--_XYENCode___end-- BTW, you're absolutely right. It was The Wild Mouse, not Rat. The ride had its charms (and jolts), but IMHO it never held a candle to the wooden coasters. I'm still determined to ride the new Tbolt before the end of the season, and while I do I'll make a point of browsing a copy of A Critique of Pure Reason (if they'll let me, which I doubt). When it comes to thrills, I can walk and chew bubble gum. -- Carl Distefano cld@xxxxxxxx

Attachment: LFN-U2.FRM
Description: Binary data