Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Invisible (Hidden) files

Author
Message
Electrocian
15
Years of Service
User Offline
Joined: 26th Jul 2010
Location:
Posted: 5th Jan 2014 22:21
I seem to be unable to find files made by a program of mine. Though this is not a major problem, I would like to know how to find these files and without needing to write a DBP program to do so every time.

I know for a fact that the files are there as I can load them in and DBP is able to read them. The program that creates them can also use them.

The files are not hidden, nor are they listed as system files as my computer is set to view both. I cannot view them in CMD either.

This problem is new as of today I have been using this program mechanic for quite some time without this issue.

I am using the open to write, write string, and save array commands
to create the file and yes I am closing the file when done. I am using the open to read, read string, and load array commands to read them and once more I am closing the files once done.

Any help would be appreciated thanks (probably just some stupid n00b mistake)

Don't go around saying the world owes you a living. The world owes you nothing. It was here first. -Mark Twain
Derek Darkly
14
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 6th Jan 2014 01:35
I've run into trouble before when trying to use the .TXT extension for my data files.

Try using .DAT or just a made up extension of your own and see if that makes any difference.

D.D.
WickedX
17
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 6th Jan 2014 02:46 Edited at: 6th Jan 2014 02:47
If you’re using Windows Vista or above, try running the program as administrator and then see if the file is where it should be. Windows will put files in a hidden user directory if not run as administrator.

Just a thought.
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 6th Jan 2014 03:26
Hi there.

This works for me in windows Vista



I'm not a grumpy grandpa
Electrocian
15
Years of Service
User Offline
Joined: 26th Jul 2010
Location:
Posted: 9th Jan 2014 00:20
@WickedX

That appears to have worked (I'm running windows 7 ultimate) I can't believe I didn't think of that in the first place.

@Derek Darkly

I have been using the .dat file type (though not implicity hard coded the program asks the user to input a .dat at the end of the file and the program will only load in .dat's)

@chafari

thanks, that works without running in administrator mode. I should have tried that first my program files (unlike the x86 version) folder does not seem to require admin to perform read/write operations.

------
By the way how do I close a post as solved as it would appear to have been? I'm not big into forum usage (up until recent I still thought a forum was a Roman center of business, government, and other public/community activities) so I'm unfamiliar with many of the proper conventions.

Don't go around saying the world owes you a living. The world owes you nothing. It was here first. -Mark Twain
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 9th Jan 2014 15:32
Quote: "By the way how do I close a post as solved as it would appear to have been?"


You can't on this forum. A Moderator might lock it for you but that would be unnecessarily drastic in this case. The thread will get automatically locked after a certain number of days if nobody posts on it anyway.

In the meantime the thread is open for anyone to comment on which can be useful in cases like yours since others might have similar problems but need additional advice, etc.



Powered by Free Banners

Login to post a reply

Server time is: 2026-07-06 16:49:34
Your offset time is: 2026-07-06 16:49:34