Re: include paths
- Posted by "Carl R. White" <euphoria at carlw.legend.uk.com> Mar 18, 2002
- 411 views
Kat wrote: > But as for include paths, have you tried the ole dos "subst"? Oops, can't do > neat things like that in windoze or *nix. I had inordinately long paths to some > files back in my pascal days, and would subst drive letters for them. > "E:\DCTDATA\DCTWORK\TESTCTRL.H13\084-KN.N13" would become > "X:\084-KN.N13" SUBST works fine under Windows9x, either from a command prompt, or the Start-menu's Run dialog. You just have to make sure that you use an equally arcane piece of wisdom beforehand; Set the LASTDRIVE parameter in your CONFIG.SYS to a value higher than or equal to the highest drive letter you want to use. LASTDRIVE=Z is your best bet. IIRC, Win3.x isn't quite as good in this regard, and you have to set up your SUBSTs before loading Windows. For WinNT4, 2000 and XP, just use SUBST. Fiddling with CONFIG.SYS is not required. :) For all Windows & Dos, type 'SUBST /?' at a command prompt. Finally, for Unix/Linux ( ooh, and BSD ;) ) go to a console and type 'man ln'. Links (ln) are a wonderful thing, and infinitely better than SUBST, IMO. Carl