From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Text file size

Solved!
Go to solution

How to get the text file size from the directory. 

 

0 Kudos
Message 1 of 6
(2,747 Views)

I can understand text size and file size, but I do not understand text file size - the size of text files?

The size of files wether text or binary can be obtained using GetFileSize, but this you know according to your other post.

Why don't you spend two seconds more to express your questions more clearly?

0 Kudos
Message 2 of 6
(2,740 Views)

its file size, 'm writing the file in C: directory and need to check the size of the file if its more than 512 MB need to create a new file. 

0 Kudos
Message 3 of 6
(2,719 Views)
Solution
Accepted by topic author rr_04

OK, so why not use GetFileSize as discussed in your other post?

0 Kudos
Message 4 of 6
(2,707 Views)

yep I have used it to get the file size. Now if I want to delete first few entries in file ?

0 Kudos
Message 5 of 6
(2,700 Views)

OK, so this thread is solved Smiley Happy

Second, you can't - I have answered this question here

Third, if people have helped you can acknowledge their help by giving kudos. Smiley Wink

Message 6 of 6
(2,693 Views)