Re: File name with & in it

From: Jean-Marc Monnez (monnez.jean-marc@AGORA.MSA.FR)
Date: Fri Mar 19 2004 - 08:12:34 EST


Use quotes around filename to avoid shell interpretation :
rm 'filename&'

Regards

-- JMM

-----------------------------
Jean-Marc MONNEZ
MSA / AGORA / ATD
monnez.jean-marc@agora.msa.fr
-----------------------------

"Kumar, Praveen (cahoot)" a écrit :

> Hi *,
> I have a peculiar problem,i had a file on windows whose name had
> an '&' character in it, and unfortunately i have ftp' ied it to my AIX box.
> When i am trying to delete the file, as soon as it encounters the '&'
> character, it comes out as abackground process, it does not even allow me to
> rename the file nor move the file in to a directory (so that i can knock of
> the directory). I suddenly got an idea,that i have connected from another
> system by FTP and renamed that file from ftp prompt, and then i could delete
> the file. I am sure there would be some way doing this from the local
> system.
>
> TIA
> Praveen.K
>
> *********************
> Internet communications are not necessarily secure and may be intercepted or
> changed after they are sent. cahoot does not accept liability for any such
> changes.
> If you wish to confirm the origin or content of this communication, please
> contact the sender using an alternative means of communication.
>
> This communication does not create or modify any contract.
>
> This email may contain confidential information intended solely for use by
> the addressee. If you are not the intended recipient of this communication
> you should destroy it without copying, disclosing or otherwise using its
> contents.
>
> Please notify the sender immediately of the error.
>
> cahoot is a division of Abbey National plc.
> Abbey National plc is registered in England, registered number 2294747.
> Registered Office: Abbey National House, 2 Triton Square, Regent's Place,
> London, NW1 3AN.





This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:43 EDT