how can i jump into some line in my file, e.g line 开发者_开发问答300 in c:\\text.txt?using (var reader = new StreamReader(@\"c:\\test.txt\"))
In my application I\'m trying to rename the folder, but if the folder is opened in Windows Explorer I get an IOException开发者_JAVA百科.How can I identify whether folder is opened in Windows Explorer
Does anyone know of a way to (reasonably simple) create a file without actually opening/locking it? In File class, the methods for file creation always return a FileStream. What I want to do is to cre
I\'m trying to write a recursive function that does some formatting within a file I open for a class assignment.This is what I\'ve written so far:
I\'m writing a program that needs to search a directory and all its sub directories for files that have a certain extension. This is going to be used both on a local, and a network drive, so performan
I found out that you can use something like this to create a file: FileOutputStreamfs = openFileOutput(\"/test.in\", MODE_WORLD_WRITEABLE);
I had some code before I moved to Unicode and Delphi 2009 that appended some text to a log file a line at a time:
I have a php file that has to be loaded as a web page. This page is 17Kb in size. It has a php mysql query script inside.
Wor开发者_高级运维dpress is rendering an RSS feed at http://myurl.com/feed/rss/ but of course there\'s not actually a file there.I\'m writing a script to read and render the RSS, but loading the \"fil
I need to be able to write textfiles to the root directory of my Android device (as this related questions开发者_如何学JAVA explains).