forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Running command line programs
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
wahorger



Joined: 13 Oct 2014
Posts: 1278
Location: Morrison, CO, USA

PostPosted: Tue Dec 16, 2025 10:49 pm    Post subject: Reply with quote

Much easier to use is the function CURDIR@().

It returns the full path of the default directory used by the running program at that time. For example, a shortcut whose target directory is set, CURDIR@() will return that folder name if used at the start of the program. That's how I use it.

If you use ATTACH@ later on, then do CURDIR(), it will reflect the new default directory. I use this sequence specifically when a root-relative (.\ or ..\) is input by the user.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group