Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Spartacus
Wanderer


Joined: 23 Apr 2001
Posts: 53
Location: USA

PostPosted: Fri Mar 11, 2005 8:04 pm   

#FILE
 
I know the documentation says that #FILE is restricted to the zmud.exe location, but is there any way to write to a file in a subdirectory of this location? I need to capture some information and write logs from it on a daily basis and don't want to keep moving the files manually.
_________________
Spartacus
rm -rf .*
Reply with quote
Dharkael
Enchanter


Joined: 05 Mar 2003
Posts: 593
Location: Canada

PostPosted: Sat Mar 12, 2005 12:15 am   
 
I think you are limited to the root zmud directory Spartacus.
I know #LOG will let you make a log file to an already existing sub directory, but #FILE I think wont even do that.
You could do what want using the Scripting.FileSystemObject
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/jsobjFileSystem.asp?frame=true
You could use it to make new files and folders and write to the files.
_________________
-Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style."
Reply with quote
Spartacus
Wanderer


Joined: 23 Apr 2001
Posts: 53
Location: USA

PostPosted: Sat Mar 12, 2005 3:34 am   
 
I'll try that. Thanks!
_________________
Spartacus
rm -rf .*
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
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

© 2009 Zugg Software. Hosted by Wolfpaw.net