ID:155344
 
Is it possible to send file to a specific location... Like D:\\....
?
It should be possible. However such a code is dependent on the user's computer. If there is no D drive on their computer, it won't work.
In response to Lugia319
Can u tell the code.... How to make it work ?
Consider a Imaginary < D > Drive n tell
In response to Kushagra
Offhand, I'd assume this.

mob
proc
MakeFile()
var/savefile/F = new("D://[src.key]")
src.Write(F)
F["ninjas"] << src.ninjas
BYOND cannot write or read files outside of the game directory unless the game is running in "trusted" mode, the default "safe" mode will ask the host if the file can be saved there, if the host says no the process will fail.

So in the end it's entire up to the host of the game to allow files to be saved outside of the game directory.