Reading from a shortcut file
#1

Hey, I created a shortcut of "server_log.txt" and moved it into my scriptfiles folder.
When I try to load the file using
pawn Код:
fopen
the file doesn't load (server crashed)
If I try to open another file (not a shortcut) using the same code, it works fine, so I am assuming it is because the file I am trying to load is a shortcut and probably not considered a regular ".txt"

Is there any way, if there is any way to do this? Thanks.
Reply
#2

Err, why don't you place a copy of the server-log file where you want and if you want, delete it from the root directory.
Reply
#3

Quote:
Originally Posted by DJDhan
Err, why don't you place a copy of the server-log file where you want and if you want, delete it from the root directory.
I need it to be a shortcut because I need it to update with the original file. If I copy + paste, that wont do it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)