View unanswered posts | View active topics It is currently Wed Apr 22, 2026 9:42 pm



Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
 write file to new directory 
Author Message
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: write file to new directory
Rmdir yes... obviously if it has files in it, deleting a dir is simply a bad idea. mkdir tho, as long as a specific path and name is required, and it aborts if the dir is already there, would be less dangerous.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Sat Jan 19, 2008 1:03 am
Profile ICQ WWW
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post Re: write file to new directory
ElderProphet wrote:
TWX has no provision for creating directories. It's probably a bad idea in the long term to add directory creation and deletion options, and I think that file navigation to parent directories should probably be limited to the TWX root directory. I shudder to think of the havok that a malformed script could wreak with those capabilities.

+EP+


That is true on the problems that could be caused and not worth the potential risk.

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Sat Jan 19, 2008 2:01 am
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 17 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 28 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.