Where is the base direcory?

Say I did


file.Write("poop.txt","Some data")

Where would that file actually be created/exist

garrysmod/data

Does create the file if it does not exist, Because I tried writing to it and no errors were thrown but the file is not there?

It overwrites it.

edit: just to be certain you aren’t trying to do it clientside and looking in server folder or vice versa?

Im on a sinlge player game, And i am running it serverside, So would it not be in my garrysmod/data folder? If not then where would it be?

My eyes are getting worse, Jesus. I missed out the .txt in my code… Thanks for the help guys…