TENAGLIA@mis.mcw.edu (Chris Tenaglia - 257-8765) (12/01/90)
In the past icon has been getting better and better. For example there's now a remove(filespec) procedure to delete files which is better than system("rm "||filespec) and I think there's also a rename(ofile,nfile) instead of system("mv "||ofile||" "||nfile) I think it would be nice to have a few more file management primitives. Oh oh, maybe they already exist, and I should just read the manual? cpfile(oldfile,newfile) # copy files appfile(oldfile,existingfile) # append files together listvar := dir(path) # generate a list of file names (directory) freedisk:= df(dspec) # returns number of blocks of free disk like unix df or vms show dev/mount ---- Also there are the environmental variables that are accessible with getenv(), and known as logicals to VMS people. Is it possible to capture aliases (symbols to vms people)? Or doesn't that sound like a useful enough feature?