[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

3371.0. "Assign a multi-worded disk name?" by EUCLID::OWEN (OUCH! Quit it.) Sun Jan 21 1990 14:55

    I'm haveing trouble with the WB1.2 assign command.  How do you assign a
    multi-worded disk name to a directory on the hard drive?
    
    Ex
    
    assign disk_name: dh0:
    
    This if fine, but how do you do
    
    assign disk name: dh0:
    
    I can't rename the disk, because a program makes reference to it.
    
    
    Thanks
    Steve
    
T.RTitleUserPersonal
Name
DateLines
3371.1use quotesREGENT::VAILLETTESun Jan 21 1990 16:248
    
    	In WorkBench 1.3 you can ASSIGN "my name:" dh0:
    
    	I assume 1.2 is the same.
    
    	You may also consider using NEWZAP to change all the references
    to DF0: to any other three character name (ex. MY0:). 
    
3371.2assignments and quotesKAOA01::PACEYThu Apr 26 1990 15:1224
    as previously stated, quotes are used for logicals with spaces in
    the name, not much written on this topic, it's worthwhile experimenting
    with quotes in the assign command. There can even be redundancies,
    but quotes are sometimes better to use than not.
    eg:
    Assign "DPAINT:" hdrive:dpaint  (for dpaint II)
    or 
    Assign "MWdisk:" Hdisk:MWdisk  is effectively the same as 
    Assign MWdisk: Hdisk:mwdisk (for the game of MIND WALKER by Commodore)
    but the actual game is called MIND WALKER (see the space)
    if you want MIND WALKER in a root directory, assign as
    ASSIGN "MIND WALKER:"  "hdisk:MIND WALKER"
    or if a subdirectory
    ASSIGN "MIND WALKER:" "hdisk:MWdisk/mind walker"
     also works ,even if redundant to make the point it's possible
    There are three search priorities for the ASSIGN command
    Volumes come first, then directories, then logicals; doing assignments
    can get rid of the 'put it in df0:'requestors if done with priority
    in mind, else you'll get the requestor anyway but when you cancell
    it, the search continues down the priority line and if the assign
    is found, the program executes having gone thru the annoying request.
    generally,I've found that the use of quotes with ASSIGN is as valid
    as their use with other commands.