AminetAminet
Search:
84783 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/fullname.lha

Mirror:Random
Showing: ppc-warpup icongeneric icon
No screenshot available
Short:Gives full path and name of a file
Author: nahmt at cip.physik.uni-bonn.de (Torsten Nahm)
Uploader:nahmt cip physik uni-bonn de (Torsten Nahm)
Type:util/cli
Architecture:m68k-amigaos
Date:1998-02-24
Download:util/cli/fullname.lha - View contents
Readme:util/cli/fullname.readme
Downloads:626

This utility will give the full path and name of a file specified as argument.
The template is "FILENAME/A".

For example,

cd c:
fullname Dir

might yield:
Work:C/Dir

and

fullname ram:T

might give:
Ram Disk:T

This command may come in handy in script files. I personally use it as a
work-around for a bug in amigaguide display: When I open a guide file that
is neither directly in the current directory nor specified through a full
volume path, i.e. multiview Doc/Enforcer.guide, and click on a guide link,
the link will not be displayed and the error message: "Couldn't open
doc/Enforcer.guide" will appear instead.
So, I use the following alias
alias multiview run <>nil: sys:Utilities/MultiView "*`FullName []*`"
in my Shell-Startup.

The programm and source are in the Public Domain. The source was written
for SASC 6.50, but should easily be adaptable to any compiler.

Torsten Nahm
nahmt@cip.physik.uni-bonn.de


Contents of util/cli/fullname.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  310     372  83.3% -lh5- 313d Feb 23  1998 FullName/FullName
[generic]                  527    1182  44.6% -lh5- cefd Feb 23  1998 FullName/fullname.c
[generic]                  606    1085  55.9% -lh5- f475 Feb 23  1998 FullName/readme
[generic]                   63      84  75.0% -lh5- fcfa Feb 23  1998 FullName/SCOPTIONS
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files    1506    2723  55.3%            Feb 23  1998
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>