Questions tagged [file]
A block of arbitrary information, or resource for storing information, accessible by the string-based name or path. Files are available to computer programs and are usually based on some kind of persistent storage.
72,781
questions
0
votes
1answer
22 views
Rewrite file at certain system time daily in C
How to automate/schedule file operations(rewrite/delete whole content in file) daily at a certain system time (0000 hours / 12.00 a.m.)?
0
votes
0answers
9 views
Why does file get uploaded but returns empty strings?
While trying the FilePond JavaScript library, I've setup a localhost server via MAMP. FilePond lets you set a bunch of options, like the server to upload files to. I set the server to the localhost, ...
0
votes
0answers
9 views
Opening a random file in a directory VBScript
I have a folder with a bunch of memes in it, %AppData%\Memes And I have a file, meme.vbs in my startup folder.
How would I make meme.vbs open a random meme every set amount of minutes?
-1
votes
1answer
49 views
How do I save highscore into a file with python?
I'm working on a memory tile match game in python and want to save the name and score to a text file, which should be showed after every finished game. I have succeeded with saving the name and score ...
-1
votes
0answers
5 views
Windows 10 file explorer visual search bug
Have a problem with windows 10 file explorer where search is bugged(Look the attachment). It functions fine but that look is bothering me, anyway this is a something for "fun" so if anyone ...
0
votes
2answers
33 views
Read file with unknown character type
I need to read text from a file that could contain any type of character (char, char8_t, wchar_t, etc). How can i determine which type of character is used and create an instance of basic_ifstream<...
0
votes
0answers
21 views
Header in RichTextBox file gets removed
I use the following code:
RichTextBox rtf = new RichTextBox();
rtf.Rtf = AnswerRTF;
rtf.SaveFile(sourceFile + "/" + fileName);
for creating a RichTextBox file
but this code removes Header ...
-2
votes
0answers
15 views
Why cant I unzip my ngrok-stable-linux-amd64.zip files? [closed]
I have tried to download and setup ngrok on linux that I have downloaded on windows 10. I have used this site and it's instructions for downloading ngrok properly:
https://dashboard.ngrok.com/get-...
1
vote
0answers
10 views
Cordova/Phonegap File plugin, Overwrite index.html on pause event
Using Cordova/Phonegap, is it possible to save the state of the index.html file as the user leaves it using the onPause event so it it remains up-to-date.
This would very much work the same as the &...
0
votes
2answers
44 views
How can we write a text file from variable using python?
I am working on NLP project and have extracted the text from pdf using PyPDF2. Further, I removed the blank lines. Now, my output is being shown on the console but I want to populate the text file ...
0
votes
0answers
41 views
How to read char array from binary file in C?
I am trying to write from a struct array into a binary file and read back its contents. Someone suggested I use "fwrite" with sizeof and it has worked, partially. This is my code:
...
0
votes
0answers
16 views
Encoding problem in text document recovery
I kept a large amount of Hebrew text documents on a hard disk With a certain encoding (do not remember with UTF8 or unicode or other), And I accidentally made a format that erased all the contents on ...
-1
votes
0answers
12 views
How to create a .pkg file on Mac?
I have a Mac app.
I want to know how can I make a .pkg file for the app.
I need a simple method.
Can someone help me?
I'm using MacOS Catalina.
-1
votes
1answer
54 views
Input/Output from external file in C++ without adding extra code into main file
How can I take input from file (input.txt) and provide the output into another file (output.txt) during compilation / execution of program without adding extra code to the main file. I don't want to ...
0
votes
1answer
39 views
Writing to file in python
I wrote such a code that should write all files in the directory to a text file, but when the code is executed, nothing appears in the file and does not give errors:
import glob, os
os.chdir(r"C:...