Author Topic: Access...  (Read 1214 times)

0 Members and 1 Guest are viewing this topic.

Offline nErBoS

  • Emperor
  • **
  • Posts: 1 149
  • Karma: +3/-1
Access...
« on: 12 March, 2004, 02:58:29 »
Hi,

A dumb question :p

How can i get access to the files in ptokax folder for example.

Normaly when i do give a rote in a scritp to read or write the rote start script folder. how can i call the ptokxa foler for example ??

Best regards, nErBoS
--## nErBoS Spot ##--

PtokaX forum

Access...
« on: 12 March, 2004, 02:58:29 »

Offline Stravides

  • Triple Ace
  • **
  • Posts: 171
  • Karma: +0/-0
(No subject)
« Reply #1 on: 12 March, 2004, 10:15:09 »
There are no Dumb questions only sarcastic answers....

You can access that dir by using syntax .. to go up a dir structure, (same as dos really)

configfile   = "../data.cfg"

where .. is the dir above Scripts, and ../.. is the one above that, so in order to read the Docs dir in ptokax, you can use
configfile      = "../docs/commands_note.txt"

hope this helps :)
Stravides
For RPG Books, Mp3 & Videos
We host trivia  and the ever failing Smeagolbot

Offline nErBoS

  • Emperor
  • **
  • Posts: 1 149
  • Karma: +3/-1
(No subject)
« Reply #2 on: 12 March, 2004, 14:42:08 »
Hi,

Thakns for the explanion Stravides :)

Best regards, nErBoS
« Last Edit: 12 March, 2004, 14:42:22 by nErBoS »
--## nErBoS Spot ##--

PtokaX forum

(No subject)
« Reply #2 on: 12 March, 2004, 14:42:08 »