Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 5 of 5
Search took 0.01 seconds.
Search: Posts Made By: .NETamateur
Forum: C# August 18th, 2006, 07:46 PM
Replies: 17
Views: 13,771
Posted By .NETamateur
Ok, in your case you will delete some characters....

Ok, in your case you will delete some characters. I do not have the time to figure out how to that in an efficient way with the FileStream class but I am not surprised if it is possible. That's why I...
Forum: C# August 18th, 2006, 04:22 PM
Replies: 17
Views: 13,771
Posted By .NETamateur
First, what kind of file do you want to do this...

First, what kind of file do you want to do this with? Binary, text etc..

I'am not an expert in file manipulation but you may explore the FileStream class. Streaming data one byte at a time is...
Forum: C# August 15th, 2006, 12:37 PM
Replies: 17
Views: 13,771
Posted By .NETamateur
Imar, What I mean is as follows: Lets say...

Imar,

What I mean is as follows:
Lets say you have two files in the same directory "fileA.txt", "fileB.txt". I thought that if you use the method System.IO.File.Move(@"fileA.txt", @"fileB.txt")...
Forum: C# August 14th, 2006, 05:12 PM
Replies: 17
Views: 13,771
Posted By .NETamateur
Imar, Sure. Using...

Imar,

Sure. Using "System.IO.File.Move(oldFileName, newFileName)" will rename the file effectively. I thought that if the destination file has the same name that it will be removed by this command...
Forum: C# August 14th, 2006, 02:15 PM
Replies: 17
Views: 13,771
Posted By .NETamateur
The way I rename files is by executing batch...

The way I rename files is by executing batch files. I do this only if the files are big else i will use the rename which create a copy first. Maybe renaming files with a batch file works for you.
...
Showing results 1 to 5 of 5

 


All times are GMT -4. The time now is 09:10 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.