s-news
[Top] [All Lists]

Path of the directory of the current script

To: s-news@lists.biostat.wustl.edu
Subject: Path of the directory of the current script
From: Odile <mullodi@yahoo.fr>
Date: Mon, 26 Sep 2005 17:15:26 +0200 (CEST)
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fU8T8BAoLa9Eb55pG3METj8XaPfmE9C8p+p8xND116hsGmUdkvG3H63q5Z+W+I4iETlfSiIXUU73Z0B11aCgsWBBrluqxno6+6mKEVa6tQttKiQQr2RaRegaSKKplfHAIIyqYnVwsU08ELf4YQ5W9HfwKcZ/2zb0ADrNxCTfvjU= ;
Hello,
I am trying to do my own GUI under S-plus. When the GUI is launched by running a script situated in a certain directory, I would need to know the path of the directory where the script is. Is it possible?
 
 
The reason why I need it is the fact that the GUI uses data which are located in the same directory as its script. The directory contains the GUI and the data, and its path must be able to change, if I want to give the application to someone else (to put it on another computer). However, the GUI must be able to identify the new path in order to be able to read the data.
 
Thank you very much!
Odile
 


Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez le ici !
<Prev in Thread] Current Thread [Next in Thread>
  • Path of the directory of the current script, Odile <=