You can change it by issuing "path ;" to clear it, then path "c:\; etc" to set a new one. It an environment setting, like %windir% & %temp% under Windows. To access the current path would depend in the language it's written it. In a batch file, "echo %path%" prints the current one. To change it a crude way would be to shell out to DOS and run a batch file, unless the language you're using has a better way to do it. There's a length limit (255 char?) too. For #2, is it using SUBST? Tony > For a friend. > I have no direct involvement with the following. > Nobody is going to take your advice if you suggest buying new > windows aware applications software :-). > > 1. Dim memory assures me that MSDOS had (has) a data-path command > that would allow data to be referenced by filename without a path > specifier if it was anywhere on the data path. ie just as > > path C:\windows;c:\UTIL;C:\FOXPRO;C:\ > > allows programs anywhere in the directories on the path to be > accessed > by name the data equivalent allowed data to be accessed similarly. > > Such a capability is extremely dangerous, and also sometimes useful. > A friend wants top do something with an olllld DOS program that may > benefit from this feature. > Anyone know how it is/was accessed? > Gargle seems to know far too much about the terms 'data path' to be > easily driven to reveal anything useful. > > 2. Same problem but different maybe. > > WIN98 on N PCs on LAN. > > DOS program on PC A runs OK. > Same program on PC B runs OK. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist